sdamadi / image-classification

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Python 81.7%Language:Shell 18.3%