Multivariate Classification
Multivariate Classification
📝 Description
- This implementation is based on official resnet50
- In this project we have used Pretrained Model and tensorboard for image classification and checking the accuracy of the model.
STEPS -
STEP 01- Create a conda environment after opening the repository in VSCODE
STEP 02- install the requirements
STEP 03- initialize the dvc project
It will run for 100 Epochs. You can change this into params.yaml section for the number of records.- This repository represents " MultiVariate Classification ".
- With the help of this project we can Classifiy 4 Attributes of An Image .
⏳ Dataset
- Download the dataset for custom training
- https://drive.google.com/file/d/1mV7EP-maKTNu2RNv6wYRnaoON9dOqLNt/view?usp=sharing
:desktop_computer: Installation
:hammer_and_wrench: Requirements
- Python 3.8+
- Tensorflow 2.9.1
- Keras
- Pandas
- Numpy
- Os
:gear: Setup
- Create virtual environment.
-
Activate virtual enviroment.
OR -
Run setup.py
- Initialize
DVC
- Run All the steps for DVC
After that our model will trained on the given dataset for 10 epochs.
We can modify the parameters in the
params.yaml
file in the root directory of the folder.
🎯 Inference demo
- Testing with Images (Put test inages in anywhere and give the location of this image to img_path parameter inside prediction model function in src/infrence.py file)
To run Tensorboard
Data Augmentation
For Data Augmentation We can use * changes in Angels, Rotation and lighting * Changes in Lighting and direction + Flipping about the vertical axis * Flipping about the horizontal axis and rotating by 90, 180, 270 degress.
Contributor
- Sanjeev Kumar