face_toolbox_keras
face_toolbox_keras copied to clipboard
Error in Colab Demo
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
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