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:
pikaliov
2026-04-21 18:37:05 +03:00
parent a47dd6308e
commit f41a0f27fe

View File

@@ -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,
) )