kenshohara / video-classification-3d-cnn-pytorch

Video classification tools using 3D ResNet
MIT License
1.09k stars 260 forks source link

Cant seem to run main.py code. #27

Open AdarshMJ opened 6 years ago

AdarshMJ commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

tuyunbin commented 5 years ago

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+