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

Cant seem to run main.py code. #27

Open
AdarshMJ opened this issue Jul 2, 2018 · 3 comments
Open

Cant seem to run main.py code. #27

AdarshMJ opened this issue Jul 2, 2018 · 3 comments

Comments

@AdarshMJ
Copy link

AdarshMJ commented Jul 2, 2018

Whenever I run the main.py code, I keep getting this error.

Traceback (most recent call last):
File "main.py", line 10, in
from model import generate_model
File "/Users/adarshjamadandi/Desktop/video-classification-3d-cnn-pytorch/model.py", line 4, in
from models import resnet, pre_act_resnet, wide_resnet, resnext, densenet
ImportError: No module named models

Please help me out!

@O-Givenchy
Copy link

i guess there is nothing wrong in the code . pls make sure u input the correct parameters before u run main.py code. especially the path of the PRETRAINED MODELS :)

@Mohamad73
Copy link

I think it is because you are running it on python 2.7

@tuyunbin
Copy link

I think it is because you are running it on python 2.7
Thank you, you are right, and I sovled this problem when changing version of python to 3+

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

4 participants