Skip to content

keras>=3.0 no longer supported .hdf5 format #1

Description

@JamiePW

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions