lzccccc / SMOKE

SMOKE: Single-Stage Monocular 3D Object Detection via Keypoint Estimation
MIT License
696 stars 177 forks source link

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 2 years ago

Lan2Kailee commented 2 years ago

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)

zzylovexx commented 1 year ago

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

zzylovexx commented 1 year ago

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