Update outdated code
Compare changes
- Bobholamovic authored
@@ -2,76 +2,82 @@ import shutil
@@ -2,76 +2,82 @@ import shutil
@@ -80,23 +86,20 @@ class Trainer:
@@ -80,23 +86,20 @@ class Trainer:
@@ -105,77 +108,79 @@ class Trainer:
@@ -105,77 +108,79 @@ class Trainer:
self._save_checkpoint(self.model.state_dict(), self.optimizer.state_dict(), (max_acc, best_epoch), epoch+1, is_best)
@@ -186,117 +191,46 @@ class Trainer:
@@ -186,117 +191,46 @@ class Trainer:
\ No newline at end of file
\ No newline at end of file