From 56e55c2171762a5572b8a18db7f11358dd5bc206 Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Sat, 18 Sep 2021 09:45:22 +0000 Subject: [PATCH] not save ckpt when except, since resume train will increase epoch and step --- deepspeech/training/trainer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/deepspeech/training/trainer.py b/deepspeech/training/trainer.py index ffc52775a..c1afd3629 100644 --- a/deepspeech/training/trainer.py +++ b/deepspeech/training/trainer.py @@ -303,7 +303,6 @@ class Trainer(): try: self.train() except KeyboardInterrupt: - self.save() exit(-1) finally: self.destory()