Skip to content

statisticszhang/Image-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image classification papers and cases

This repository uses Pytorch to implement the popular CNN architectures, using the dataset CIFAR. The following is the reference paper.

Image classification paper

Regularization

Learning Rate Scheduler

Requirements

  • Python >= 3.5
  • PyTorch = 0.4 or 1.0
  • Tensorboard (if you want to use the tensorboard for visualization)
  • pyyaml, easydict, tensorboardX

Usage

Run the command for training as following:

  1. GPU for lenet

python -u train.py --work-path ./examples/Cifar10/Lenet

  1. Resume from checkpoint

python -u train.py --work-path ./examples/Cifar10/Lenet --resume

  1. GPUs for Resnet1202

CUDA_VISIBLE_DEVICES=0,1 python -u train.py --work-path ./examples/Cifar10/Preresnet-20

  1. GPUs for Densenet190bc

CUDA_VISIBLE_DEVICES=0,1,2,3 python -u train.py --work-path ./examples/Cifar10/Densenet100bc

If you think this item is useful to you, please give me a star,thank you~