Skip to content

feature: save model checkpoint and model output#9

Merged
vxfung merged 2 commits intomainfrom
feature/save_model_output
Dec 17, 2022
Merged

feature: save model checkpoint and model output#9
vxfung merged 2 commits intomainfrom
feature/save_model_output

Conversation

@saraheisenach
Copy link
Copy Markdown
Contributor

@saraheisenach saraheisenach commented Dec 3, 2022

This PR adds in the ability to:

  1. Save the model to a checkpoint file every epoch
  2. Keep track of the best model during training and save it to a checkpoint file
  3. Write the best model output to a csv file

The results will be saved like this:
Screen Shot 2022-12-03 at 6 03 49 PM

In addition it fixes an issue with different models having different target outputs. Now, a model must specify what the target attribute is so that the trainer knows what attribute to use when writing to an output file.

@vxfung vxfung merged commit 4171bb2 into main Dec 17, 2022
@saraheisenach saraheisenach deleted the feature/save_model_output branch January 9, 2023 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants