pedropro / TACO

🌮 Trash Annotations in Context Dataset Toolkit
http://tacodataset.org
MIT License
603 stars 201 forks source link

Working configuration #31

Closed LorenzoMonti closed 3 years ago

LorenzoMonti commented 3 years ago

Hi,

first of all thank you for the project. I tried to launch the script detector.py. After all the dependency was installed, I launched the script that return me the error: AttributeError: module 'tensorflow' has no attribute 'log'. The error is certainly due to the tensorflow version installed in my laptop. Referring to issue #17, Python 3.5, Keras 2.0.8, and Tensorflow 1.3.0 seems to work. But the question is: is there a newer working configuration?

Thank you in advance, Lorenzo

SolidOrange commented 3 years ago

I'm getting a similar issue when trying to run the imports in detector.ipynb. Getting AttributeError: module 'keras.engine' has no attribute 'Layer'. I'm sure this also has to do with the wrong versions of tensorflow and keras.

A solution to prevent this from happening would most likely to be to add version numbers to the requirements.txt file.

LorenzoMonti commented 3 years ago

Right, thanks.