OlafenwaMoses / ImageAI

A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
https://www.genxr.co/#products
MIT License
8.55k stars 2.19k forks source link

Keras version should be higher when using 2.0.2 #118

Closed thebigbai closed 5 years ago

thebigbai commented 5 years ago

Hello,

In the imageai 2.0.1, the keras 2.0.9 is ok.

But when I updated to imageai 2.0.2, there was a RuntimeError:

The Session graph is empty.  Add operations to the graph before calling run()

I think it was because the keras version is not latest, so I updated my keras to version 2.2.4. This problem was solved. I do suggest to add this to the document as the document only listed that keras should be 2.X.

thanks for your nice project

OlafenwaMoses commented 5 years ago

Thanks for sharing this. I will review this and update accordingly.