You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Albert-Hanstein
i have my own dataset of 64643 shape in the data directory
buy i got this error can you help me with this
/usr/local/lib/python3.6/dist-packages/torchvision/transforms/transforms.py:208: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead.
"please use transforms.Resize instead.")
ValueError Traceback (most recent call last)
in ()
122 #print('data',data)
123 # Training the discriminator with a real image of the dataset
--> 124 real, _ = data
125 input = Variable(real)
126 target = Variable(torch.ones(input.size()[0]))
ValueError: too many values to unpack (expected 2)
The text was updated successfully, but these errors were encountered:
Hi @saisriteja ,
Could you provide more details about your environment, especially the version of PyTorch you are using?
Also, this may sound like stating the obvious, but did you try replacing the Scale function with Resize?
@Albert-Hanstein
i have my own dataset of 64643 shape in the data directory
buy i got this error can you help me with this
/usr/local/lib/python3.6/dist-packages/torchvision/transforms/transforms.py:208: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead.
"please use transforms.Resize instead.")
ValueError Traceback (most recent call last)
in ()
122 #print('data',data)
123 # Training the discriminator with a real image of the dataset
--> 124 real, _ = data
125 input = Variable(real)
126 target = Variable(torch.ones(input.size()[0]))
ValueError: too many values to unpack (expected 2)
The text was updated successfully, but these errors were encountered: