LuizHduarte / Drought

0 stars 1 forks source link

`NeuralNetwork.py`: defining the input shape on a separate line #13

Closed A-Infor closed 1 month ago

A-Infor commented 1 month ago

Solves the following error:

UserWarning: Do not pass an input_shape/input_dim argument to a layer. When using Sequential models, prefer using an Input(shape) object as the first layer in the model instead. super().init(**kwargs) None