lzccccc/SMOKE

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

Opened this issue · 2 comments

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)

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

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