-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
Import error of datapoints #416
Comments
You can use RT-DETR/rtdetr_pytorch/requirements.txt Lines 1 to 2 in bc0cf9f
|
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\prototype_init_.py)
from torchvision.prototype import transforms as T
from torchvision import datapoints
ImportError: cannot import name 'datapoints' from 'torchvision'
The text was updated successfully, but these errors were encountered: