Skip to content

Latest commit

 

History

History
130 lines (87 loc) · 4.38 KB

README.md

File metadata and controls

130 lines (87 loc) · 4.38 KB

Stars Issues GNU GPLv3 License LinkedIn


A Machine Learning model that classifies german traffic signs

A CNN based model constructed using tensorflow 2.0 and Keras that can detect german traffic signs.
· Report a Bug · Request a Feature

Table of Contents

About The Project

This is one of my personal projects, used so I can learn more about a particular subject.

This is my take on a competition long ago closed, but that is still relevant as a beginners project of machine learning and multiclass classification.

My project was built using Tensorflow 2.0 with the built-in Keras framework. The architecture of my network is a simple CNN with multiple groups of two convolutional layers and one max pooling, I used intercalated dropout layers to dimish the overfitting of the model. It as a 97% accuracy in the test group.

As a necessity, I coded two scripts to create three groups from the main data set (training, validation, and test) their use is explained below.

Built With

Getting Started

Prerequisites

You will need the GTSRB dataset and Tensorflow 2.0 to execute all of the scripts. If you only want the model simple copy the gtsrb_model.h5 file.

Installation

  1. Clone the repo
git clone https:://github.com/dario-santos/CNN-Machine-Learning-Model.git
  1. Download the GTSRB dataset (link in the end)
  2. Run the prepare_data.py script

Usage

  1. Run the model.py to train the model It's recommended to use a GPU as it's fastest
  2. If you want to test your model in the test dataset you can do it by running the model_predict.py script.

If you only want the model it's the .h5 file.

Roadmap

See the open issues for a list of proposed features (and known issues).

License

Distributed under the GNU GPLv3 License. See LICENSE for more information.

Contact

Dário Santos - LinkedIn - [email protected]

Project Link: https://github.com/dario-santos/CNN-Machine-Learning-Model

Acknowledgements