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

question #6

Open
zhongyubunenghunl opened this issue Mar 24, 2023 · 0 comments
Open

question #6

zhongyubunenghunl opened this issue Mar 24, 2023 · 0 comments

Comments

@zhongyubunenghunl
Copy link

python main.py --mode generate --iteration 1 --epsilon 0.03 --load_ckpt best_acc.tar
Traceback (most recent call last):
File "main.py", line 75, in
main(args)
File "main.py", line 39, in main
iteration=args.iteration)
File "G:\FGSM-master\solver.py", line 213, in generate
pad_value=0.5)
File "F:\anaconda\envs\cw\lib\site-packages\torchvision\utils.py", line 105, in save_image
im.save(filename)
File "F:\anaconda\envs\cw\lib\site-packages\PIL\Image.py", line 2237, in save
fp = builtins.open(filename, "w+b")
OSError: [Errno 22] Invalid argument: 'output\main\legitimate(t:-1,e:0.03,i:1).jpg'

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

1 participant