Thunfischpirat / SpokenDigits

This is our submission for the final graded project for the WS22/23 course "Neural Networks: Theory and Implementation" at Saarland University.
1 stars 0 forks source link

Save model state dicts during training. #8

Closed Thunfischpirat closed 1 year ago

Thunfischpirat commented 1 year ago

Currently, the best-performing model in train_model() is saved as a variable best_model=model. Since this isn't a deep copy, continuing training still affects best_model. To fix this, use torch.save().