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

ModuleNotFoundError: No module named 'tensorflow.python.training.checkpointable' #8222

Closed
inskaf opened this issue Mar 1, 2020 · 4 comments
Assignees
Labels
models:research models that come under research directory type:docs

Comments

@inskaf
Copy link

inskaf commented Mar 1, 2020

Documentation URL(s) with the issue:

when i start training using this command

python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_resnet101_voc07.config

and get respond something like this

2020-03-01 23:00:07.833275: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
Traceback (most recent call last):
File "train.py", line 48, in
from tensorflow.contrib import framework as contrib_framework
File "C:\Users\Lab Visual I\Anaconda3\envs\tensorflow_gpu\lib\site-packages\tensorflow\contrib_init_.py", line 27, in
from tensorflow.contrib import checkpoint
File "C:\Users\Lab Visual I\Anaconda3\envs\tensorflow_gpu\lib\site-packages\tensorflow\contrib\checkpoint_init_.py", line 37, in
from tensorflow.contrib.checkpoint.python.containers import UniqueNameTracker
File "C:\Users\Lab Visual I\Anaconda3\envs\tensorflow_gpu\lib\site-packages\tensorflow\contrib\checkpoint\python\containers.py", line 20, in
from tensorflow.python.training.checkpointable import base as checkpointable_lib
ModuleNotFoundError: No module named 'tensorflow.python.training.checkpointable'

Description of the issue (what needs to be changed):
i really dont know how to fix it, i had searched on github and got nothing.

@inskaf inskaf added models:research models that come under research directory type:docs labels Mar 1, 2020
@shadylpstan
Copy link

@inskaf I faced the same issue.
It seems TensorFlow pushed a new update 0.8.0 which is breaking this thing.
I set up my project in a machine 2 days ago, it had 0.7.0, and it is working perfectly.
So downgrade to 0.7.0 for now as for my suggestion.

pip uninstall tensorflow-hub
pip install tensorflow-hub==0.7.0

@ravikyram ravikyram self-assigned this May 15, 2020
@ravikyram
Copy link

ravikyram commented May 15, 2020

@inskaf

Is this still an issue. Can you please confirm if @shadylpstan 's workaround is working for you.Please, see this link and see if it helps you.Please, close this thread if your issue was resolved.Thanks!

@ZJZ2112939023
Copy link

ZJZ2112939023 commented May 15, 2020 via email

@ravikyram
Copy link

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
models:research models that come under research directory type:docs
Projects
None yet
Development

No branches or pull requests

4 participants