Skip to content

Latest commit

 

History

History

Fashion-mnist-Pytorch

Fashion MNIST

Screen Shot 1400-09-17 at 23 24 31

Install

  1. Clone Repository
git clone https://github.com/MaryamBoneh/DeepLearning-Course.git
  1. CD Fashion-mnist-Pytorch
  2. pip install requirements.txt

Train

Run train.py for start training. you should select your device(cpu is default).

like following command:

python train.py --device cuda

Test

python test.py --device cuda

Inference

Give the input photo with the --input argument.

python inference.py --device cuda --weight fashion-mnist.pth --input test_images/shirt.png