Giphy / celeb-detection-oss

GIPHY's Open-Source Celebrity Detection Deep Learning Model
https://celebrity-detection.giphy.com/
Mozilla Public License 2.0
677 stars 68 forks source link

I really have a package versioning hell. #14

Closed gabidabet closed 3 years ago

gabidabet commented 3 years ago

This project have lot of conflicts in packages versioning i didn't manage to run python inference.py --image_path media/image.jpg after two 2 days of importing modules errors . Example of errors : from google.protobuf.pyext import _message ImportError: DLL load failed After fixing the error above by following this : Installing protobuf i get that : numpy.core.umath failed to import I think that comes from the pip error message : tensorflow 1.15.2 requires numpy<2.0,>=1.16.0, but you'll have numpy 1.15.1 which is incompatible. Fixing that by upgrading to numpy==1.16.0 lead to that problem : from numpy.lib.arraypad import _validate_lengths ImportError: cannot import name '_validate_lengths' fixing that problem by upgrading scikit-image library to 0.15.0 lead to that problem witch i cant fix :

issues image Thank you for helping me because I really need that project !

gabidabet commented 3 years ago

The solution is deleting the ressources folder that come with repo and run this python download_model.py