Update outdated code
Compare changes
- Bobholamovic authored
@@ -2,75 +2,81 @@ import shutil
@@ -2,75 +2,81 @@ import shutil
@@ -80,23 +86,20 @@ class Trainer:
@@ -80,23 +86,20 @@ class Trainer:
@@ -105,76 +108,78 @@ class Trainer:
@@ -105,76 +108,78 @@ 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