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

I have an ImportError:No module named contrib.slim #294

Open
ma3252788 opened this issue Jun 20, 2017 · 3 comments
Open

I have an ImportError:No module named contrib.slim #294

ma3252788 opened this issue Jun 20, 2017 · 3 comments

Comments

@ma3252788
Copy link

mcj@ubuntu:~/darkflow$ ./flow --model cfg/yolo-new.cfg
Traceback (most recent call last):
File "./flow", line 4, in
from darkflow.cli import cliHandler
File "/home/mcj/darkflow/darkflow/cli.py", line 3, in
from darkflow.net.build import TFNet
File "/home/mcj/darkflow/darkflow/net/build.py", line 5, in
from .ops import op_create, identity
File "/home/mcj/darkflow/darkflow/net/ops/init.py", line 1, in
from .simple import *
File "/home/mcj/darkflow/darkflow/net/ops/simple.py", line 1, in
import tensorflow.contrib.slim as slim
ImportError: No module named contrib.slim

@ma3252788 ma3252788 changed the title I have some ImportError:No module named contrib.slim I have an ImportError:No module named contrib.slim Jun 20, 2017
@abagshaw
Copy link
Collaborator

abagshaw commented Jun 21, 2017

Can you try uninstalling tensorflow and re-installing using pip as it appears the issue is finding a module that's part of the tensorflow library. Also, make sure you're using a version of tensorflow >= 1.0

@ma3252788
Copy link
Author

Thanks a lot ,I will try it as you say.

@stAyushJain
Copy link

@ma3252788 any success ? I got the same issue

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

3 participants