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

Incompatible with tensorflow 2.0 #83

Closed
blahBlahhhJ opened this issue Mar 10, 2020 · 2 comments
Closed

Incompatible with tensorflow 2.0 #83

blahBlahhhJ opened this issue Mar 10, 2020 · 2 comments

Comments

@blahBlahhhJ
Copy link

Looks like the TensorFlow backend used in this Keras model is still on tf 1.0, so when I trymtcnn = MTCNN(), I get an error of AttributeError: module 'tensorflow' has no attribute 'get_default_graph'
Can you please implement a version compatible with tf2.0?

@blahBlahhhJ
Copy link
Author

Well, I got into factory.py and import tensorflow.keras instead, and it solved the problem.
But please update anyways.

@christian-rncl
Copy link
Contributor

#85

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