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

about test basicvsr problem #376

Closed
candygogogogo opened this issue Jun 17, 2021 · 4 comments
Closed

about test basicvsr problem #376

candygogogogo opened this issue Jun 17, 2021 · 4 comments
Assignees

Comments

@candygogogogo
Copy link

when i test the basicvsr i get
File "mmediting/mmedit/models/components/stylegan2/generator_discriminator.py" , line 7 , in
from mmcv.runner.checkpoint import _load_checkpoint_with_prefix
ImportError: cannot import name ' _load_checkpoint_with_prefix'

My environment is python3.6, pytorch1.4 , cuda9.2, mmcv-full-1.2.1
When I check file mmcv.runner.checkpoint it really doesn't have file _load_checkpoint_with_prefix
I don't know what to do. Can you help me solve this problem

@ckkelvinchan
Copy link
Member

There is no _load_checkpoint_with_prefix in mmcv-1.2.1. Please update it to >=1.3.0

@candygogogogo
Copy link
Author

thank you, The document environment requirements should be revised...

@innerlee
Copy link
Contributor

@ckkelvinchan Could you please update the lower bound on mmcv? Here https://github.com/open-mmlab/mmediting/blob/master/mmedit/__init__.py

@ckkelvinchan
Copy link
Member

@ckkelvinchan Could you please update the lower bound on mmcv? Here https://github.com/open-mmlab/mmediting/blob/master/mmedit/__init__.py

Sure no problem, I will update it after meeting.

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

3 participants