Skip to content

A pytorch image classifier for recognizing digit from own dataset

Notifications You must be signed in to change notification settings

ya-sin/pytorch_image_classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytorch_image_classification

Image Classification implemented in PyTorch. The dataset contains 28x28 (px) images of digits 0 to 8 in grayscale.Aim at recognizing the digit on the wooden block. This repository includes:

  1. self-collected data set
  2. training and testing the model
  3. a config.jason for setting
  4. the net refer to utils/net.py

Requirements

  • torch
  • torchvision
  • numpy
  • cv2
  • PIL
  • jason

Dataset

dataset

Train Model

All the parameters are in config.json

python train.py

Test Model

All the parameters are in config.json

python test.py or python infer.py

About

A pytorch image classifier for recognizing digit from own dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages