Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/susheel-1999/transferlearning-image_classification
Image classification using feature extraction (Transfer Learning)
https://github.com/susheel-1999/transferlearning-image_classification
deep-learning deep-neural-networks feature-extraction image-classification keras transfer-learning vgg16
Last synced: 3 days ago
JSON representation
Image classification using feature extraction (Transfer Learning)
- Host: GitHub
- URL: https://github.com/susheel-1999/transferlearning-image_classification
- Owner: Susheel-1999
- Created: 2022-07-03T17:05:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-03T17:15:38.000Z (over 2 years ago)
- Last Synced: 2024-02-12T15:24:04.939Z (about 1 year ago)
- Topics: deep-learning, deep-neural-networks, feature-extraction, image-classification, keras, transfer-learning, vgg16
- Language: Jupyter Notebook
- Homepage:
- Size: 733 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image Classification
This repo is about image classification using feature extraction with VGG16 pretrained model
## Transfer Learning
Transfer learning is the reuse of a pre-trained model on a new problem. It's currently very popular in deep learning because it can train deep neural networks with comparatively little data.![image](https://user-images.githubusercontent.com/63583210/177046093-8d73bd6c-7939-4090-8ef2-3ec193cdfd78.png)
## VGG16
VGG16 is a convolutional neural network trained on a subset of the ImageNet dataset, a collection of over 14 million images belonging to 22,000 categories. K. Simonyan and A. Zisserman proposed this model in the 2014 paper, Very Deep Convolutional Networks for Large-Scale Image Recognition (https://arxiv.org/abs/1409.1556).![image](https://user-images.githubusercontent.com/63583210/177045413-1ec915e9-8b43-49b9-b129-85180cc40b32.png)
VGG16 arcitecture## steps
1. Downloaded the dataset for image classification. Here, I have used Multi-class weather Dataset. (https://data.mendeley.com/datasets/4drtyfjtfy/1)
Convert into the folder structure as shown in dataset folder.
2. Preparing the dataset to train and test.
i) Convert the images into shape of 224x224x3 (as input of VGG16)
ii) Have unique label for each classes. Such as Sunrise - 0, Shine - 1, Rain - 2, Cloudy -3.
iii) Split the datapoint into train (90%) and test (10%) datapoints.
3. Download the pretrained model VGG16 imagenet and use it for feature extraction.
4. Training the multilayer preceptron and using it after 7x7x512 max pooling layer.
5. Train the model with an adam optimizer.
6. Evaluate the model with test datapoints.