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
Hello, when i run bash tune_gaussian_blur.sh in ./experiments, i have met a error below. At first I thought it was a version problem, but I have seen almost all versions of torchvision's API, and I haven't found two classes, datasets.Dev and datasets.Real. Does anyone know the solution?
Traceback (most recent call last):
File "./blurattack.py", line 1196, in
main(sys.argv)
File "./blurattack.py", line 1165, in main
eplison, blur_strategy, step_size,numSP=numSP,mask_att_l1=mask_att_l1,direction=direction,deblurred = deblurred,gpuid=gpu_id)
File "./blurattack.py", line 312, in test_dev
datasets.Dev(valdir, target_file='dev_dataset.csv', transform = transforms.Compose([transforms.ToTensor()])),
AttributeError: module 'torchvision.datasets' has no attribute 'Dev'
The text was updated successfully, but these errors were encountered:
Hello, when i run bash tune_gaussian_blur.sh in ./experiments, i have met a error below. At first I thought it was a version problem, but I have seen almost all versions of torchvision's API, and I haven't found two classes, datasets.Dev and datasets.Real. Does anyone know the solution?
Traceback (most recent call last):
File "./blurattack.py", line 1196, in
main(sys.argv)
File "./blurattack.py", line 1165, in main
eplison, blur_strategy, step_size,numSP=numSP,mask_att_l1=mask_att_l1,direction=direction,deblurred = deblurred,gpuid=gpu_id)
File "./blurattack.py", line 312, in test_dev
datasets.Dev(valdir, target_file='dev_dataset.csv', transform = transforms.Compose([transforms.ToTensor()])),
AttributeError: module 'torchvision.datasets' has no attribute 'Dev'
The text was updated successfully, but these errors were encountered: