Skip to content

run '‘bash tune_gaussian_blur.sh' #1

Description

@Louis-Leee

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'

Activity

  1. HiddenStar1 commented on Jan 28, 2022

    @HiddenStar1

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions