Feature/sg 624 remove avg from model plots #629
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently SG adds the average model at the end of the training graph.
For instance if we train on 300 epochs, at the end of the training SG adds the average model validation metric/loss to the graph, leading to 301 data points on validation plots (vs 300 on training plots).
This is also the case with EarlyStop callback: if trained on 40 epochs, the average model will be added and we will have 41 data points, and even worse: the last point will be displayed at index 300!
This is bad especially since this information is stored in a separate graph (of only 1 data point per training), so I guess we should just remove this behavior.