"Problem on 2D Convolution Neural Networks (channels_first, channels_last not defined)"
Hi,
I have a CSV dataset compost of a 301 attributes and 634336 rows.
After the windowing model, the number of attributes becomes 4816 and the number of rows becomes 39645.
In keras model I would like to pass an array of 16 rows and 301 columns and use a Convolution_2D and MaxPooling_2D.
Input_shape of keras model = (None, 1, 16,301) (batchSize, channel, height, width) following an online example with "channels_first" formatting.
When I launch the process, RapidMiner returns the following error screen:
"The execution of the python script failed. Please check your python script: NameError: name 'channels_first' is not defined (script, line 272)".
If i change the configuration to "channels_last" (None, height, width, channel) the problem 's not solve.
Keras model is compost of: convolution level 2d + maxPooling 2d + Dropout + Flatten + 2 dense levels.
Could you help me solve the problem?
I have attached the .rpm file process.
Thank you so much.



