Skip to content

Commit

Permalink
Fix inverted epoch - iteration counts in valid progress (tracel-ai#1699)
Browse files Browse the repository at this point in the history
  • Loading branch information
laggui authored Apr 26, 2024
1 parent b387829 commit b7ab19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/custom-training-loop/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ pub fn run<B: AutodiffBackend>(device: B::Device) {

println!(
"[Valid - Epoch {} - Iteration {}] Loss {} | Accuracy {}",
iteration,
epoch,
iteration,
loss.clone().into_scalar(),
accuracy,
);
Expand Down

0 comments on commit b7ab19a

Please sign in to comment.