Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sequential has no attribution "validation_data"

Tags:

keras

I download and run the file from the link below https://github.com/keunwoochoi/keras_callbacks_example

But the it has the error "Sequential has no attribute "validation_data"". Can anyone explain for me?

like image 464
Le Trong Nghia Avatar asked Jan 26 '18 05:01

Le Trong Nghia


1 Answers

Try using self.model.predict(self.validation_data[0]). That is what worked for me.

like image 110
Dipan Ghosh Avatar answered Sep 28 '22 05:09

Dipan Ghosh