Open Subhankhan41 opened 3 months ago
You can use rtdetrv2_pytorch
, otherwise your packages must match corresponding version.
Hi, 你好
I tried from torchvision import data points and also from torchvision.prototype import datapoints, but I am still having ImportError: cannot import name 'datapoints' from 'torchvision' and ImportError: cannot import name 'datapoints' from 'torchvision.prototype respectively. The rest of things are working fine including from torchvision.prototype import transforms as T. Any idea why it's happening?我尝试从 torchvision 导入数据点,也尝试从 torchvision.prototype 导入数据点,但我仍然遇到 ImportError:无法从 'torchvision' 导入名称 'datapoints' 和 ImportError:无法分别从 'torchvision.prototype' 导入名称 'datapoints'。其余事情都工作正常,包括从 torchvision.prototype 导入转换为 T。知道为什么会这样吗?
from torchvision.prototype import transforms as T from torchvision.prototype import datapoints从 torchvision.prototype 导入数据点
ImportError: cannot import name 'datapoints' from 'torchvision.prototype' (C:\Users\Subhan.Khan\AppData\Local\anaconda3\envs\myconda\Lib\site-packages\torchvision\prototypeinit.py)ImportError:无法从“torchvision.prototype”导入名称“数据点”(C:\Users\Subhan.Khan\AppData\Local\anaconda3\envs\myconda\Lib\site-packages\torchvision\prototypeinit.py)
from torchvision.prototype import transforms as T from torchvision import datapoints从 torchvision 导入数据点
ImportError: cannot import name 'datapoints' from 'torchvision'ImportError:无法从“torchvision”导入名称“datapoints”
excuse me ,do you solve it with the author's ways
it is solved
Hi,
I tried from torchvision import data points and also from torchvision.prototype import datapoints, but I am still having ImportError: cannot import name 'datapoints' from 'torchvision' and ImportError: cannot import name 'datapoints' from 'torchvision.prototype respectively. The rest of things are working fine including from torchvision.prototype import transforms as T. Any idea why it's happening?
from torchvision.prototype import transforms as T from torchvision.prototype import datapoints
ImportError: cannot import name 'datapoints' from 'torchvision.prototype' (C:\Users\Subhan.Khan\AppData\Local\anaconda3\envs\myconda\Lib\site-packages\torchvision\prototypeinit.py)
from torchvision.prototype import transforms as T from torchvision import datapoints
ImportError: cannot import name 'datapoints' from 'torchvision'