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

your pretrained model work very badly in inference.py in any av #29

Open
Zhang-O opened this issue Jun 14, 2019 · 1 comment
Open

your pretrained model work very badly in inference.py in any av #29

Zhang-O opened this issue Jun 14, 2019 · 1 comment

Comments

@Zhang-O
Copy link

Zhang-O commented Jun 14, 2019

your pretrained model work very badly in inference.py in any av. why ?
I init models as follows:
model = C3D_model.C3D(num_classes=101, pretrained=True)
# checkpoint = torch.load('./models/C3D_ucf101_epoch-39.pth', map_location=lambda storage, loc: storage)
# model.load_state_dict(checkpoint['state_dict'])
model.to(device)
model.eval()

@zldrobit
Copy link

zldrobit commented Dec 3, 2019

It seems that you didn't load any pretrained weights.

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

2 participants