SMOKE icon indicating copy to clipboard operation
SMOKE copied to clipboard

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

Open Lan2Kailee opened this issue 3 years ago • 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)

Lan2Kailee avatar Sep 30 '21 08:09 Lan2Kailee

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

zzy0731 avatar Dec 09 '22 21:12 zzy0731

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

zzy0731 avatar Dec 10 '22 11:12 zzy0731