Zero division error

I have encountered the error as shown (Zero Division Error) while running the Keras Model. May anyone give me some advice to solve the error. Your help is highly appreciated. Thank you.
Best Answer
-
Hi @chinrenjie,
it seems that you didn't define the input_shape (1st option of the Keras Model Operator) correctly (and used a zero for the number of features) or your provided data set contains no columns. Checkout the definition of the input shape in the slide deck provided with out Keras webinar or in the official Keras docu.
We also have a longer thread with reoccurring questions regarding the Keras extension here.
Regards,
Philipp
0
Answers
-
Hi @chinrenjie,
it seems that you didn't define the input_shape (1st option of the Keras Model Operator) correctly (and used a zero for the number of features) or your provided data set contains no columns. Checkout the definition of the input shape in the slide deck provided with out Keras webinar or in the official Keras docu.
We also have a longer thread with reoccurring questions regarding the Keras extension here.
Regards,
Philipp
0