hcguoO0 / FIA

code for "Feature Importance-aware Transferable Adversarial Attacks"
77 stars 15 forks source link

在评估成功率时运行到vgg_16无报错中断 #18

Open Mo01iHt opened 1 year ago

Mo01iHt commented 1 year ago

image-20230519115934464 在评估成功率时运行到vgg_16无报错中断,是因为缺少什么配置文件吗?

Observer73 commented 1 year ago

change the utils.py 屏幕截图(16)

Observer73 commented 1 year ago

change the vgg16 path

Mo01iHt commented 1 year ago

change the vgg16 path

I have tried many solutions including changing the path. But I found that the most fundamental reason is that my video memory is not enough, so I modified the batch_size of the batch, and finally solved the problem. Thanks for your reply.