Skip to content

Commit c3c04bd

Browse files
Merge pull request #495 from yoshitomo-matsubara/dev
Simplify example
2 parents 39bf90b + 549b47d commit c3c04bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,10 @@ test_dataset = config['datasets']['cifar10/test']
5353
```yaml
5454
datasets:
5555
cifar10/train: !import_call
56-
_name: &dataset_name 'cifar10'
57-
_root: &root_dir !join ['~/datasets/', *dataset_name]
5856
key: 'torchvision.datasets.CIFAR10'
5957
init:
6058
kwargs:
61-
root: *root_dir
59+
root: &root_dir '~/datasets/cifar10'
6260
train: True
6361
download: True
6462
transform: !import_call

0 commit comments

Comments
 (0)