Skip to content

Commit

Permalink
fix with_file_checkpointer use in training example (tracel-ai#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigopandini authored Nov 20, 2023
1 parent e5c6044 commit 20e9066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion burn-book/src/basic-workflow/training.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub fn train<B: AutodiffBackend>(artifact_dir: &str, config: TrainingConfig, dev
.metric_valid_numeric(AccuracyMetric::new())
.metric_train_numeric(LossMetric::new())
.metric_valid_numeric(LossMetric::new())
.with_file_checkpointer(1, CompactRecorder::new())
.with_file_checkpointer(CompactRecorder::new())
.devices(vec![device])
.num_epochs(config.num_epochs)
.build(
Expand Down

0 comments on commit 20e9066

Please sign in to comment.