Skip to content

Commit

Permalink
Update train_sequence.py (#487)
Browse files Browse the repository at this point in the history
Fixed model dump

Co-authored-by: Mohammad Amin Nabian <m.a.nabiyan@gmail.com>
  • Loading branch information
hasethinvd and mnabian committed May 11, 2024
1 parent 02cf9c2 commit f49ceae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def backward(self, loss):
),
"w",
) as json_file:
json_file.write(C.json(indent=4))
json_file.write(C.model_dump_json(indent=4))

# initialize loggers
initialize_wandb(
Expand Down

0 comments on commit f49ceae

Please sign in to comment.