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

run '‘bash tune_gaussian_blur.sh' #1

Open
Louis-Leee opened this issue Mar 6, 2021 · 1 comment
Open

run '‘bash tune_gaussian_blur.sh' #1

Louis-Leee opened this issue Mar 6, 2021 · 1 comment

Comments

@Louis-Leee
Copy link

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'

@HiddenStar1
Copy link

Hi, has your problem been resolved? Hope to discuss with you

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

2 participants