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

Error when running evaluate. py #3

Closed
Drangonliao123 opened this issue Nov 16, 2021 · 7 comments
Closed

Error when running evaluate. py #3

Drangonliao123 opened this issue Nov 16, 2021 · 7 comments

Comments

@Drangonliao123
Copy link

When running evaluate. py, the error "ModuleNotFoundError: No module named 'model.i3d'" has occurred“. Could the author please provide information about model.i3d, I look forward to your reply, thank you very much.

@Drangonliao123
Copy link
Author

When running evaluate. py, the error "KeyError :‘netG'''has occurred“. Could the author please provide information about "netG", I look forward to your reply, thank you very much.

@huynth1801
Copy link

When running evaluate. py, the error "ModuleNotFoundError: No module named 'model.i3d'" has occurred“. Could the author please provide information about model.i3d, I look forward to your reply, thank you very much.

Hello, i got the same error like you. Have you had the solution for it ? Thank you

@ruiliu-ai
Copy link
Owner

ruiliu-ai commented Nov 20, 2021

Inception3d network has beed added at ./models/i3d.py

@ruiliu-ai
Copy link
Owner

When running evaluate. py, the error "KeyError :‘netG'''has occurred“. Could the author please provide information about "netG", I look forward to your reply, thank you very much.

You need to download the pretrained model from https://drive.google.com/file/d/1BuSE42QAAUoQAJawbr5mMRXcqRRKeELc/view and then use this command line:
python evaluate.py --model fuseformer --ckpt checkpoints/fuseformer.pth --dataset davis --width 432 --height 240

@huynth1801
Copy link

Inception3d network has beed added at ./models/i3d.py
Thank you very much

@ewwnage
Copy link

ewwnage commented Dec 2, 2021

> When running evaluate. py, the error "KeyError :‘netG'''has occurred“. Could the author please provide information about "netG", I look forward to your reply, thank you very much.

Did this error resolve? I am facing the same issue. Apparently there is no netG key in the provided model. Does anyone has any ideas on how to fix that? Thanks in advance

@ruiliu-ai
Copy link
Owner

the error "KeyError :‘netG'''has occurred“. has bees fixed.
https://github.com/ruiliu-ai/FuseFormer/blob/master/evaluate.py#L260
model.load_state_dict(data['netG']) -> model.load_state_dict(data)

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