Skip to content Skip to sidebar Skip to footer
Showing posts with the label Keras Layer

Expected Dense_1 To Have 2 Dimensions, But Got Array With Shape (308, 1, 6)

I'm trying to use Conv1D for the first time for multiclass classification of time series data a… Read more Expected Dense_1 To Have 2 Dimensions, But Got Array With Shape (308, 1, 6)

Cannot Add Layers To Saved Keras Model. 'model' Object Has No Attribute 'add'

I have a saved a model using model.save(). I'm trying to reload the model and add a few layers … Read more Cannot Add Layers To Saved Keras Model. 'model' Object Has No Attribute 'add'

How Do I Get The Weights Of A Layer In Keras?

I am using Windows 10, Python 3.5, and tensorflow 1.1.0. I have the following script: import tensor… Read more How Do I Get The Weights Of A Layer In Keras?

Dataset Shape Mismatch Conv1D Input Layer

Trying to set up a Conv1D layer to be the input layer in keras. The dataset is 1000 timesteps, and … Read more Dataset Shape Mismatch Conv1D Input Layer