934 questions
1 vote
1 answer
177 views
In sequential order, find the first pair of results with a given relative change per group, in R
Consider this data: group visit result rc10 <dbl> <dbl> <dbl> <dbl> 1 1 1 291 0 2 1 2 195 0 3 1 3 159 1 ...
1 vote
3 answers
118 views
Repeat a sequential numbering of duplicated values starting from a given value in R
In a new variable row2, how to repeat a sequential numbering (here a sequence from 3 to 6) by group of duplicated row1 values, which would start from a given value (here from row1 = 3), even if the ...
1 vote
1 answer
3k views
I keep getting the same error when using input_dim and input_shape
When I specify the data with 11 attributes to the artificial neural network, I constantly get this error when using input_dim and input_shape. How can I fix this error? import keras from keras.models ...
-2 votes
1 answer
586 views
ValueError: Only instances of 'keras.Layer' can be added to a Sequential model
ValueError: Only instances of `keras.Layer` can be added to a Sequential model. Received: <tensorflow_hub.keras_layer.KerasLayer object at 0x7c61f819f590> (of type <class 'tensorflow_hub....
0 votes
1 answer
28 views
Processing files that manipulate database sequentially?
How do I process a range of files (fs.readdir or fs.readdirSync) one by one in sequence that manipulate a database with data that the next file depends on? So, for each iteration I actually need to ...
0 votes
1 answer
105 views
Insert Elements into XML code in the proper order/sequence? Python code
I am new to Python and I am attempting to create a script that will open an XML file and insert an XML element into the proper place within a sequence of XML elements. So far, I have this code: import ...
1 vote
0 answers
585 views
Allow duplicates in Power Automate sequential approval flow
I've created a SharePoint list, where each item needs approval by multiple people. The first stage of the flow requires approval by an HRBP (HR Business Partner) and a Group Executive. I'm using the ...
1 vote
1 answer
51 views
Track a "streak" for sequential records based on name, date and status
In Google Sheets, I would like to create a numerical column which tracks the "streak" of sequential records. This would be person-specific based on a name column, whether or not the records ...
0 votes
0 answers
156 views
Executing multiple jenkins jobs sequentially, but continue when jobs fail or are disabled
Most people have the requirement to stop the Job queue, when one Job fails. In my case, we have a bunch of independent Jobs running daily. And some of them might be disabled. Basically, an independent ...
1 vote
0 answers
100 views
AttributeError: "The layer sequential_2 has never been called" when trying to generate Grad-CAM heatmap from a trained ResNet50 model
I'm working on generating a Grad-CAM heatmap from a trained ResNet50 model, but I've been encountering a persistent error related to sequential_2. Despite feeding the model with input images, I keep ...
1 vote
1 answer
100 views
Are MPI messages of different tags matched sequentially?
I'm trying to build an MPI program that sends two types of messages from an undermined number of processors to process A using nonblocking send (the program is randomized, and I am using tags to ...
2 votes
2 answers
241 views
How to create array-based sequential numbering in Google Sheets based on adjacent column, skipping blanks?
In Google Sheets, how can I create an ARRAYFORMULA to generate sequential numbering in column B, only when adjacent C cell is not empty? I want to start sequential numbering from B10, If a cell in ...
0 votes
3 answers
60 views
VBA Merge fixed number of columns on sequential arrows
I am trying to write a Macro that will merge, on a fixed range of data, each cells of one row. For each row of my range I want cells from column b to G to be merged. The only cells that contain data ...
0 votes
1 answer
58 views
Sequential row update, skipping rows that have a value
I need to update a table with sequential numbering, but skipping numbers that are already in use. The table has 3 (important) columns: id, name and order, where order is the display order of the ...
0 votes
1 answer
121 views
ValueError: The layer sequential has never been called and thus has no defined input. Tensorflow/pydot collision
I am trying to implement a custom net with a normal dense layer and an RBF layer following tutorial:text. The dense layer act as an ENCODER, whil RBF clusters the encoded input. I accually solved that,...