https://github.com/kwea123/pytorch-lightning-tutorial
Pytorch lightning tutorial using MNIST
https://github.com/kwea123/pytorch-lightning-tutorial
Last synced: 7 months ago
JSON representation
Pytorch lightning tutorial using MNIST
- Host: GitHub
- URL: https://github.com/kwea123/pytorch-lightning-tutorial
- Owner: kwea123
- Created: 2022-04-03T13:25:00.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-05T01:23:53.000Z (over 3 years ago)
- Last Synced: 2025-03-21T22:22:04.036Z (7 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 35
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pytorch-lightning-tutorial
Pytorch lightning tutorial using MNIST[Youtube stream](https://www.youtube.com/watch?v=O7dNXpgdWbo&ab_channel=AI%E8%91%B5)
(Maybe there will be another... still planning!)[Pytorch lightning introduction](https://github.com/PyTorchLightning/pytorch-lightning)
[scheduler introduction (Japanese)](https://katsura-jp.hatenablog.com/entry/2019/01/30/183501)
# Installation
Python>=3.7, creation using anaconda is recommended. Install libraries by `pip install -r requirements.txt`.
# Train MNIST
Run (example)
```python3
python train.py --root_dir "./"
```It will download the dataset to `root_dir` and start training. You can monitor the training process by launching tensorboard in another terminal:
```python3
tensorboard --logdir logs
```And go to `localhost:6006` in your browser.