video-classification-3d-cnn-pytorch icon indicating copy to clipboard operation
video-classification-3d-cnn-pytorch copied to clipboard

Cant seem to run main.py code.

Open AdarshMJ opened this issue 6 years ago • 3 comments

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!

AdarshMJ avatar Jul 02 '18 03:07 AdarshMJ

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 :)

O-Givenchy avatar Jul 06 '18 08:07 O-Givenchy

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

Mohamad73 avatar Aug 28 '18 11:08 Mohamad73

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+

tuyunbin avatar Jun 20 '19 06:06 tuyunbin