aidotse / aidotse/LeakPro

Loss in training loops

Aperta
#239 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
good first issue
Lingua principale
Python
Stelle
23
Fork
28
Merge medio
4g 12h
PR unite (30g)
5

Descrizione

# Issue
## Problem Description

The last batch of each epoch is usually smaller than the others. One approach is to sum the losses and divide by the total number of samples.

Currently, loss calculations in handlers sum the average loss of each batch and divide by the length of the dataloader.

## Expected Behavior

## What Needs to be Done

## How Can It Be Tested or Reproduced

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.