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

ImportError:cannot import name ' download_ url_ to file' from 'torch .hub' ( /home/dyj/ anaconda3/envs/SMOKE/lib/python3.7/site- packages/torch hub. py) #62

Open
Lan2Kailee opened this issue Sep 30, 2021 · 2 comments

Comments

@Lan2Kailee
Copy link

Traceback (most recent call last):
File "plain train net.py", line 9,in
from smoke .utils. check point import Detectr onCheckpointer
File " /home/dyj/SMOKE/ smoke/utils/check point.py", line 8, in
from smoke · utils .model_ Z0O import cache url
File ' /home/dyj/ SMOKE/ smoke/utils/model_ z00 .py", line 5, in
from torch. hub import download_ url_ to file
ImportError: cannot import name ' download_ url_ to file' from 'torch .hub' ( /home/dyj/ anaconda3/envs/SMOKE/lib/python3.7/site- packages/torch hub. py)

@zzy0731
Copy link

zzy0731 commented Dec 9, 2022

hi i meet a same problem ,how do you solve it

@zzy0731
Copy link

zzy0731 commented Dec 10, 2022

hey think i found a solution ,if you need ,you can ask me

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