scvi-tools icon indicating copy to clipboard operation
scvi-tools copied to clipboard

Support metric and loss loging on step

Open Hrovatin opened this issue 1 year ago • 2 comments

In large datasets, the training may take only 1-2 epochs, meaning that the loss profile should be inspected on the step. Thus, it would be great to add an option to log losses and metrics on steps instead of epochs. I would suggest this for both training and validation losses, as in some pathological cases where there was sth wrong with the data setup, the training and validation losses actually did not match.

Hrovatin avatar Oct 19 '24 07:10 Hrovatin

Can you create a PR for this (can be in just the regular Training code)? Do you have some benchmarking for training time to add validation loss at each step?

canergen avatar Oct 20 '24 07:10 canergen

I dont have benchmarks for the validation set - maybe getting just one batch of validation set would be good to speed it up as a proxy?

Hrovatin avatar Oct 21 '24 16:10 Hrovatin

Added

ori-kron-wis avatar Sep 11 '25 10:09 ori-kron-wis