Skip to content

Commit 140ea75

Browse files
authored
chore: fix some comments (#2717)
Signed-off-by: sunxunle <[email protected]>
1 parent e54d03d commit 140ea75

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/burn-import/src/pytorch/recorder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use serde::{de::DeserializeOwned, Serialize};
1111

1212
use super::reader::from_file;
1313

14-
/// A recorder that that loads PyTorch files (`.pt`) into Burn modules.
14+
/// A recorder that loads PyTorch files (`.pt`) into Burn modules.
1515
///
1616
/// LoadArgs can be used to remap keys or file path.
1717
/// See [LoadArgs](struct.LoadArgs.html) for more information.

crates/burn-train/src/checkpoint/strategy/metric.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ mod tests {
114114
process_train(&mut processor, 0.3, epoch);
115115
end_epoch(&mut processor, epoch);
116116

117-
// Should save the current record and delete the pervious one.
117+
// Should save the current record and delete the previous one.
118118
assert_eq!(
119119
vec![CheckpointingAction::Delete(1), CheckpointingAction::Save],
120120
strategy.checkpointing(epoch, &store)

examples/custom-image-dataset/src/dataset.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use tar::Archive;
55
use burn::data::{dataset::vision::ImageFolderDataset, network::downloader};
66

77
/// CIFAR-10 mirror from [fastai](https://github.com/fastai/fastai/blob/master/fastai/data/external.py#L44).
8-
/// Licensed under the [Appache License](https://github.com/fastai/fastai/blob/master/LICENSE).
8+
/// Licensed under the [Apache License](https://github.com/fastai/fastai/blob/master/LICENSE).
99
const URL: &str = "https://s3.amazonaws.com/fast-ai-sample/cifar10.tgz";
1010

1111
/// The [CIFAR-10](https://www.cs.toronto.edu/%7Ekriz/cifar.html) dataset consists of 60,000 32x32

0 commit comments

Comments
 (0)