Triplet_attack.py line 112
filepath = model_root + 'Triplet_model_{}.hdf5'.format(test_info)
File "/home/wyh/Triplet-attack/Triplet_attack.py", line 114, in
filepath=filepath,
monitor='val_loss',
mode='min',
save_best_only=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: The filepath provided must end in .keras (Keras model format). Received: filepath=Model/Triplet_model_ASCAD_HW_Triplet_ep1_BS512_ES32_desync0_alpha0_margin0.4_0.hdf5
Triplet_attack.py line 112
filepath = model_root + 'Triplet_model_{}.hdf5'.format(test_info)File "/home/wyh/Triplet-attack/Triplet_attack.py", line 114, in
filepath=filepath,
ValueError: The filepath provided must end in
.keras(Keras model format). Received: filepath=Model/Triplet_model_ASCAD_HW_Triplet_ep1_BS512_ES32_desync0_alpha0_margin0.4_0.hdf5