Giter Site home page Giter Site logo

nive927 / pothole-and-plain-road-classification Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 33 MB

Using deep learning and transfer learning techniques to differentiate plain roads and those with potholes using three different classifiers to obtain the best accuracy with the same convolutional base

Jupyter Notebook 100.00%
deep-learning cnn-classification cnn-keras cnn transfer-learning detection-model linear-svm svm svm-classifier svm-model

pothole-and-plain-road-classification's Introduction

Pothole and Plain road Classification using Transfer Learning and CNN

Using deep learning and transfer learning techniques to solve the binary image classification problem of differentiating pothole and plain roads by adopting an accurate model for savings in training time and computational efficiency.

CNN Transfer Learning

Convolutional Base

Pre-trained weights from VGG16

Classifiers

  • Fully-connected Layer
  • Global Average Pooling
  • Linear Support Vector Machine

Consult either the PPT or Report for theory.

Installation Requirements

Environment

We recommend having a Linux or macOS development environment for convenience, although the code runs on Windows 10.
We recommend using Anaconda to manage your packages.
Install Python 3 (version >= 3.8.0 recommended), along with pip.
We also recommend running the code on Jupyter Notebook.

Dependencies

  • shutil
  • tensorflow
  • Keras
  • matplotlib
  • numpy
  • scikit-learn
  • joblib

Instructions

  1. Download or clone this repository locally
  2. Run the following commands to install all the dependencies:
sudo apt update
pip3 install --upgrade pip
pip3 install -r requirements.txt
  1. Download the dataset from here into the project directory and unzip the folder
  2. Launch jupyter notebook from the project directory
  3. Open the source code file titled pothole-detection-transfer-learning-CNN.ipynb
  4. Change the basedir variable to the filepath of the dataset folder
  5. Instead of training again, you can download the pre-trained and saved models from here and unzip the folder
  6. Uncomment the load model code cells and comment the training cells

pothole-and-plain-road-classification's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lakshmipriya166

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.