kuanhungchen / MNIST-TODO.pytorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(HOMEWORK)

MNIST-TODO.pytorch

Requirements

  • Python 3.6
  • PyTorch 0.4.1

Usage

  1. Train

    $ python train.py -d=./data -c=./checkpoints
    
  2. Evaluate

    $ python eval.py ./checkpoint/model-100.pth -d=./data
    
  3. Infer

    $ python infer.py ./images/7.jpg -c=./checkpoints/model-100.pth
    

About


Languages

Language:Python 100.0%