Skip to content
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

not work in python 3.10 #335

Open
kingstone101 opened this issue Mar 8, 2024 · 0 comments
Open

not work in python 3.10 #335

kingstone101 opened this issue Mar 8, 2024 · 0 comments

Comments

@kingstone101
Copy link

CustomDatasetDataLoader
Traceback (most recent call last):
File "C:\Users\GAMER\Desktop\pix2pixHD-master\train.py", line 43, in
data_loader = CreateDataLoader(opt)
File "C:\Users\GAMER\Desktop\pix2pixHD-master\data\data_loader.py", line 6, in CreateDataLoader
data_loader.initialize(opt)
File "C:\Users\GAMER\Desktop\pix2pixHD-master\data\custom_dataset_data_loader.py", line 20, in initialize
self.dataset = CreateDataset(opt)
File "C:\Users\GAMER\Desktop\pix2pixHD-master\data\custom_dataset_data_loader.py", line 7, in CreateDataset
from data.aligned_dataset import AlignedDataset
File "C:\Users\GAMER\Desktop\pix2pixHD-master\data\aligned_dataset.py", line 2, in
from data.base_dataset import BaseDataset, get_params, get_transform, normalize
File "C:\Users\GAMER\Desktop\pix2pixHD-master\data\base_dataset.py", line 3, in
import torchvision.transforms as transforms
File "C:\Users\GAMER\AppData\Local\Programs\Python\Python310\lib\site-packages\torchvision_init_.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "C:\Users\GAMER\AppData\Local\Programs\Python\Python310\lib\site-packages\torchvision_meta_registrations.py", line 163, in
@torch._custom_ops.impl_abstract("torchvision::nms")
AttributeError: module 'torch._custom_ops' has no attribute 'impl_abstract'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant