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

FIXED ImportError: cannot import name 'model_urls' from 'torchvision.models.vgg' #202

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

prathameshza
Copy link

FIXED ImportError: cannot import name 'model_urls' from 'torchvision.models.vgg'

reproduce error as: use any imagefolder

python3 test.py --trained_model=craft_mlt_25k.pth --test_folder=./img

Before fix

craft_error

After fix

craft_fix

Tested on

Python version 3.10.12
torch version 2.2.0
torchvision version 0.17.0

Addressed issue

#191

@mattkanwisher
Copy link

should merge this in and bump the requirements.txt

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

Successfully merging this pull request may close these issues.

2 participants