-
Notifications
You must be signed in to change notification settings - Fork 111
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
ImportError: No module named contrib.slim #32
Comments
@HamzaKhalloufi try this: https://github.com/google-research/tf-slim |
the problem is with contrib, not slim. use tensorflow 1.15 will solve the problem. |
tried that but now I'm getting new errors like |
It because colab now use tensorflow2 as default and the 'contrib' module is not available anymore. |
I get this error message after succefully getting json files
I tried several tensorflow versions but I still get the same error
Processing How001
Traceback (most recent call last):
File "hmr/demo.py", line 33, in
from src.RunModel import RunModel
File "/content/hmr/src/RunModel.py", line 13, in
from .models import get_encoder_fn_separate
File "/content/hmr/src/models.py", line 19, in
import tensorflow.contrib.slim as slim
ImportError: No module named contrib.slim
The text was updated successfully, but these errors were encountered: