You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the pertained model and ran the code, but it seems that the pretrained model is corrected due to the following error:
Traceback (most recent call last):
File "/home/code/SSAH-adversarial-attack/main.py", line 156, in <module>
fid = return_fid(benign_img, adv_img)
File "/home/code/SSAH-adversarial-attack/utils/fid_score.py", line 256, in return_fid
dims=2048)
File "/home/code/SSAH-adversarial-attack/utils/fid_score.py", line 239, in calculate_fid_given_paths
model = InceptionV3([block_idx]).to(device)
File "/home/code/SSAH-adversarial-attack/utils/inception.py", line 82, in __init__
inception = fid_inception_v3()
File "/home/code/SSAH-adversarial-attack/utils/inception.py", line 208, in fid_inception_v3
state_dict = torch.load(os.path.join("checkpoints", "pt_inception-2015-12-05-6726825d.pth"))
File "/home/anaconda3/envs/ssah/lib/python3.6/site-packages/torch/serialization.py", line 595, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/anaconda3/envs/ssah/lib/python3.6/site-packages/torch/serialization.py", line 781, in _legacy_load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: unexpected EOF, expected 559999 more bytes. The file might be corrupted.
The text was updated successfully, but these errors were encountered:
I downloaded the pertained model and ran the code, but it seems that the pretrained model is corrected due to the following error:
The text was updated successfully, but these errors were encountered: