From 3df476dd178c3c7d2c4da9ab56116fe5bf9496ba Mon Sep 17 00:00:00 2001 From: fynnbe Date: Thu, 28 Apr 2022 10:03:23 +0200 Subject: [PATCH] fix description in serializer example --- torch_em/trainer/default_trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torch_em/trainer/default_trainer.py b/torch_em/trainer/default_trainer.py index 51025213..174ca4a5 100644 --- a/torch_em/trainer/default_trainer.py +++ b/torch_em/trainer/default_trainer.py @@ -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: