Skip to content

Comprehensive image classification for training multilayer perceptron (MLP), LeNet, LeNet5, conv2, conv4, conv6, VGG11, VGG13, VGG16, VGG19 with batch normalization, ResNet18, ResNet34, ResNet50, MobilNetV2 on MNIST, CIFAR10, CIFAR100, and ImageNet1K.

License

Notifications You must be signed in to change notification settings

sdamadi/image-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comprehensive image classification library

Why image classification?

Image classification is one of the fundamental computer vision tasks that serves as the backbone for solving different computer vision problems.

How does this repository help?

The primitive case

An example for training a fully connected network on MNIST dataset is the following:

python -m torch.distributed.launch --nproc_per_node=1 --master_port=$RANDOM main.py \
-a fc --dataname mnist --config mnist_fc_train --logterminal

The advanced case

An example for training a ResNet50 network on ImageNet1K dataset is the following:

python -m torch.distributed.launch --nproc_per_node=5 --master_port=$RANDOM main.py 
-a resnet50 --dataname imagenet --config imagenet_resnet50_train
 

About

Comprehensive image classification for training multilayer perceptron (MLP), LeNet, LeNet5, conv2, conv4, conv6, VGG11, VGG13, VGG16, VGG19 with batch normalization, ResNet18, ResNet34, ResNet50, MobilNetV2 on MNIST, CIFAR10, CIFAR100, and ImageNet1K.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published