Fix epoch display: show 1/10 instead of 0/9
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -351,7 +351,7 @@ def train(cfg: TrainConfigGTAUAV) -> None:
|
|||||||
|
|
||||||
pbar = tqdm(
|
pbar = tqdm(
|
||||||
train_loader,
|
train_loader,
|
||||||
desc=f" 🏋️ Epoch {epoch}/{cfg.epochs - 1}",
|
desc=f" 🏋️ Epoch {epoch + 1}/{cfg.epochs}",
|
||||||
unit="batch",
|
unit="batch",
|
||||||
leave=False,
|
leave=False,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user