save the model/training source code to model checkpoint or logs directory #2409
Labels
feature
Is an improvement or enhancement
help wanted
Open to be worked on
won't fix
This will not be worked on
🚀 Feature
Save the model/training source code to model checkpoint or logs directory
Motivation
Now, the hparams has been saved in yaml file. Sometimes, we not only change the hparams but also the network arch, the pre-process flow, so if we save the relate source code to model, we will get all the information to restore the model, because the source code is with the model hparams and all other things.
Pitch
add Trainer args parse params, or Checkpoint callback params, one for wether to save source code, and one for which codes to save
The text was updated successfully, but these errors were encountered: