Skip to content

Commit

Permalink
Fixing model checkpoint naming compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-geof authored Nov 7, 2024
1 parent e509c55 commit 7680687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def transformer_validation(
# Save predictions into hdf5
if save_predictions == True:

f = h5py.File(str(model_path) + "/validation/prediction.h5", "w")
f = h5py.File(str(model_path) + "/validation/prediction.keras", "w")

for d in range(len(val_sample_list)):

Expand Down

0 comments on commit 7680687

Please sign in to comment.