An open API service indexing awesome lists of open source software.

https://github.com/wenmuzhou/pytorch_mnist

learning pytorch with mnist dataset
https://github.com/wenmuzhou/pytorch_mnist

mnist pytorch pytorch-tutorials

Last synced: 4 months ago
JSON representation

learning pytorch with mnist dataset

Awesome Lists containing this project

README

        

# pytorch_mnist
learning pytorch with mnist dataset

# training

```sh
python3 train.py
```

# predict

```sh
python3 predict.py -f /data/datasets/mnist/test/0/0_1.png -m AlexNet.pkl
```

the code Calculate 1000 times to average, if you only need to calculate once, comment it out in the code.

# requirements
* pytorch==0.4
* torchvision
* time
* tensorboardX
* cv2
* numpy