Questions tagged as 'keras'

1
answer

Convolution 1D Keras

In my code, I have an array (820,53). I'm trying to do a 1D convolution but I always get the following error: Error when checking input: expected conv1d_1_input to have 3 dimensions, but got array with shape (820, 53). How can I solve the proble...
asked by 13.10.2018 / 15:33
2
answers

multivariate regression in keras

I have two templates created in Keras to solve a multivariate regression problem. The first one has 1 entrance and 5 exits. The second has an additional input, ie it has two inputs and the same 5 outputs. Intuitively, the second model would have...
asked by 12.09.2018 / 02:52
0
answers

Problem in compiling code in Keras

I was creating a simple classifier in Keras in Python3, but I'm getting the same error message:    RuntimeError: You must compile your model before using it. Follow the code: import keras from keras.layers import Activation, MaxPooling2...
asked by 26.06.2018 / 23:00
1
answer

Keras: ValueError: Dimension 0 in both shapes must be equal (VGGNets)

I'm following a tutorial and loaded modelo VGGNet16 pre-trained using Keras vgg16_model = keras.applications.vgg16.VGG16() model = Sequential() for layer in vgg16_model.layers: model.add(layer) model.layers.pop() for layer...
asked by 15.04.2018 / 21:02
1
answer

How to call a second key in a dictionary using HDF5Matrix?

I'm trying to load a .h5 file using this documentation HDF5Matrix : test_images = HDF5Matrix(train_path+train_file,'images') But I'm getting this error:    KeyError: "Unable to open object (object 'images' does not exist)"...
asked by 13.04.2018 / 16:32