{"id":21835227,"url":"https://github.com/redayzarra/cnn_trafficsigns","last_synced_at":"2026-05-15T23:35:01.771Z","repository":{"id":135838064,"uuid":"584231835","full_name":"redayzarra/CNN_TrafficSigns","owner":"redayzarra","description":"This is a machine learning project where I utilized the LeNet-5 architecture to create a convolutional deep network that classifies 43 different kind of traffic signs. I've made sure to include a full step-by-step implementation of the project as well as detailed notes for every step.","archived":false,"fork":false,"pushed_at":"2023-01-17T00:27:17.000Z","size":2986,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T09:44:36.707Z","etag":null,"topics":["classification","classification-model","computer-vision","deep-learning","deep-neural-networks","lenet","lenet-5","lenet-architecture","machine-learning","model-evaluation","model-selection"],"latest_commit_sha":null,"homepage":"https://www.redaysblog.com/projects/traffic-signs","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redayzarra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-01T23:32:32.000Z","updated_at":"2023-06-13T23:03:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b56011c-c749-4c10-ac68-8ed99758d9f2","html_url":"https://github.com/redayzarra/CNN_TrafficSigns","commit_stats":null,"previous_names":["redayzarra/cnn_trafficsigns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redayzarra%2FCNN_TrafficSigns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redayzarra%2FCNN_TrafficSigns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redayzarra%2FCNN_TrafficSigns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redayzarra%2FCNN_TrafficSigns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redayzarra","download_url":"https://codeload.github.com/redayzarra/CNN_TrafficSigns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244811380,"owners_count":20514276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classification","classification-model","computer-vision","deep-learning","deep-neural-networks","lenet","lenet-5","lenet-architecture","machine-learning","model-evaluation","model-selection"],"created_at":"2024-11-27T20:18:45.078Z","updated_at":"2026-05-15T23:35:01.690Z","avatar_url":"https://github.com/redayzarra.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traffic Signs Classification\n\n## Overview\n\nThis project utilizes the **LeNet convolutional network architecture** to classify 43 different types of traffic signs. LeNet is a convolutional neural network that can be used for computer vision and classification models. LeNet (CNN) was designed to recognize handwritten digits. It was developed by Yann LeCun and his team at AT\u0026T Bell Labs in the 1990s and is widely considered to be one of the first successful CNNs. LeNet consists of **several convolutional and pooling layers, followed by fully connected layers**. The architecture of LeNet has inspired many subsequent CNNs, and it is still widely used as a teaching tool for introducing the basics of CNNs to students and researchers. This project showcases a step-by-step implementation of the model and in-depth notes to customize the model further for higher accuracy. \n\nThe model is trained the dataset provided below, which is divided into training, validation, and test sets. The accuracy of this model can be further improved by collecting more data and also using data augmentation techniques such as flipping, rotation, zooming, and cropping. Convolutional neural networks are often prone to overfitting, which is when the model performs well with training data but poorly with unseen data due to fixating on certain features. My model has encountered this problem but you can avoid this by using more data, fewer features, regularization techniques, or early stopping (with fewer epochs).\n\nOnce the model is trained, it can be used to classify new, unseen traffic sign images. This can be useful for applications such as self-driving cars, where it is important to accurately recognize traffic signs in real time.\n\n\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"https://user-images.githubusercontent.com/113388793/211427784-bf5e7f16-b419-45da-ac90-ca64eefdd57b.png\" width=\"600\" height=\"600\"\u003e\n\n\u003c/div\u003e\n\n\n## Project Website\n\nIf you would like to find out more about the project, please checkout: [Traffic Signs Classification Project](https://www.redaysblog.com/projects/traffic-signs)\n\n## Installing the libraries\n\nThis project uses several important libraries such as Pandas, NumPy, Matplotlib, and more. You can install them all by running the following commands with pip:\n\n```bash \npip install pandas\npip install numpy\n\npython -m pip install -U matplotlib\npip install seaborn\n\npip install -U scikit-learn\npip install tensorflow\n\n```\n\nIf you are not able to install the necessary libraries, I recommend you **use Jupyter Notebook with Anaconda**. I have a .ipynb file for the project as well.\n\n\n## Dataset and configurations\n\nFind all the project dataset files here: [Dataset files](https://drive.google.com/drive/folders/1ctQBfS-A0YlBrbdhmH5g2993KtYyVvQU?usp=sharing)\n\nFeel free to use your own dataset files and configure them with: \n\n```python\nwith open(\"YOUR-TRAINING-DATA.p\", mode = 'rb') as training_data:\n    train = pickle.load(training_data)\n\nwith open(\"YOUR-VALIDATION-DATA.p\", mode = 'rb') as validation_data:\n    valid = pickle.load(validation_data)\n\nwith open(\"YOUR-TEST-DATA.p\", mode = 'rb') as testing_data:\n    test = pickle.load(testing_data)\n```\n\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredayzarra%2Fcnn_trafficsigns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredayzarra%2Fcnn_trafficsigns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredayzarra%2Fcnn_trafficsigns/lists"}