hcguoO0 / FIA

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

Problem with attacking inceptionv3 and inception resnet v2 #17

Closed stephenivy07 closed 1 year ago

stephenivy07 commented 1 year ago

Hi, I met problems when attacking incepionv3 and inception resnetv2 model:

Traceback (most recent call last): File "/home/eric/anaconda3/envs/tf12/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1334, in _do_call return fn(*args) File "/home/eric/anaconda3/envs/tf12/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1319, in _run_fn options, feed_dict, fetch_list, target_list, run_metadata) File "/home/eric/anaconda3/envs/tf12/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun run_metadata) tensorflow.python.framework.errors_impl.NotFoundError: Tensor name "InceptionV3/AuxLogits/Conv2d_2a_3x3/BatchNorm/beta" not found in checkpo int files ./models_tf/inception_v3.ckpt [[{{node save/RestoreV2}} = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV 2/shape_and_slices)]]

And it seems to be related to this: https://github.com/cameronfabbri/Compute-Features/issues/2

Could you please check it and tell me how to fix this? Thank you!