-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hello,
The error argument 'size' (position 1) must be tuple of ints, not Tensor always occur at 60% progress of the funciton attack_single_run() when I tried to run the code with the following command:
CUDA_VISIBLE_DEVICES=0 python eval.py \
--norm=patches_universal --model=pt_vgg \
--n_queries=100000 --alpha_init=0.3 \
--data_path=../frogdata/ILSVRC2012_val --k=2500 \
--n_ex=30 --targeted --target_class=530
Where ../frogdata/ILSVRC2012_val is the path to the imagenet validation set.
I used the latest stable version of PyTorch at first. Then I tried to switch to PyTorch 1.8.0 and Python3.8.5 according to README.md in the repository, but that doesn't help, so I decided to post an issue here to seek for help.
Thank you for your fascinating work and any help given!
Metadata
Metadata
Assignees
Labels
No labels
