-
Notifications
You must be signed in to change notification settings - Fork 930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Test and Validation Set Loss #1897
Comments
This could be implemented as part of the standard train loop, by selecting predetermined batches from the Then to specify the number of items to include in each set as well as the number of noise/timestep iterations to perform per image:
It would be substantially easier to automatically split out a set of the Finally, a frequency should be specified to run loss calculations on these sets:
The results of these calculations should be logged to the standard log and to wandb. For an initial implementation, doing predetermined entries from the
Followed by:
Finally due to the additional complexity of ingesting an additional directory:
|
I propose creating a tracker to capture a stable loss measurement as proposed here: https://github.com/spacepxl/demystifying-sd-finetuning
Effectively, at regular intervals during training, a preselected image (or batch of images I imagine) and a preselected noise seed are used to calculate the loss. This ensures that over the course of training, the loss recorded can accurately show the progress of the training run.
By also incorporating a holdout set to use for calculating validation loss, this allows a proper evaluation of what point the model begins to overtrain.
The text was updated successfully, but these errors were encountered: