LuizHduarte / Drought

0 stars 1 forks source link

"UserWarning: Do not pass an input_shape/input_dim argument to a layer." #14

Open A-Infor opened 5 hours ago

A-Infor commented 5 hours ago

The following error is being thrown, when using newer versions of TensorFlow:

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

A-Infor commented 5 hours ago

13 solves the problem.