Skip to content

Commit c0bb4fd

Browse files
committed
Use torch.accelerator API in VAE examples, fix README
1 parent f677078 commit c0bb4fd

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

vae/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ pip install -r requirements.txt
88
python main.py
99
```
1010

11-
The main.py script accepts the following arguments:
11+
The main.py script accepts the following optional arguments:
1212

1313
```bash
14-
optional arguments:
15-
--batch-size input batch size for training (default: 128)
16-
--epochs number of epochs to train (default: 10)
17-
--accel use accelerator
18-
--seed random seed (default: 1)
19-
--log-interval how many batches to wait before logging training status
14+
--batch-size input batch size for training (default: 128)
15+
--epochs number of epochs to train (default: 10)
16+
--accel use accelerator
17+
--seed random seed (default: 1)
18+
--log-interval how many batches to wait before logging training status
2019
```

0 commit comments

Comments
 (0)