Closed raphaelreinauer closed 2 years ago
self.train_epoch is increased by 1 for every batch. https://github.com/giotto-ai/giotto-deep/blob/2965f49a5653bc51790bc76c66e21f2e5ca3e65d/gdeep/pipeline/pipeline.py#L69 However, it should only be updated every epoch, and the average cross_entropy_loss across all batches should be added to the writer.
indeed it has been modified with train_cycle : https://github.com/giotto-ai/giotto-deep/blob/4b2f10e37408e840d57823221eeeaea3d8a31705/gdeep/pipeline/pipeline.py#L86
train_cycle
self.train_epoch is increased by 1 for every batch. https://github.com/giotto-ai/giotto-deep/blob/2965f49a5653bc51790bc76c66e21f2e5ca3e65d/gdeep/pipeline/pipeline.py#L69 However, it should only be updated every epoch, and the average cross_entropy_loss across all batches should be added to the writer.