Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Colab Demo #12

Open
julienguegan opened this issue Sep 9, 2020 · 1 comment
Open

Error in Colab Demo #12

julienguegan opened this issue Sep 9, 2020 · 1 comment

Comments

@julienguegan
Copy link

Currently, I can't make the demo works in colab ...

The line fd = face_detector.FaceAlignmentDetector(lmd_weights_path="./models/detector/FAN/2DFAN-4_keras.h5")
return the error AttributeError: module 'tensorflow' has no attribute 'get_default_graph' ...

From several forum sources, it seems to be a tensorflow/keras version problem (some people advice to change from keras to from tensorflow.keras) but I can't really figure how and where to debug it as I don't really know how all the code works for now

Do you have any ideas on how to make it work ?

Thank you

@shaoanlu
Copy link
Owner

shaoanlu commented Sep 18, 2020

Downgrading tensorflow and keras might solve this problem.

I'm not sure whether downgrading will cause other problems since the environment in colab has changed a lot since last time I worked on this project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants