Skip to content

Commit

Permalink
fix description in serializer example
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Apr 28, 2022
1 parent dcb071f commit 3df476d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_em/trainer/default_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class Serializer:
Examples:
To extend the serialization process you can inherite from this Serializer in a derived Trainer class.
Note that `DefaultTrainer.Serializer.dump_generic()` covers most cases already.
Note that the generic method `DefaultTrainer.Serializer.dump()` covers most cases already.
This example adds `the_answer` kwarg, which requires extra steps on dumping only because we don't keep a
'the_answer' attribute:
Expand Down

0 comments on commit 3df476d

Please sign in to comment.