Skip to content

Azzam-Alhussain/Smartathon_SDAIA_Theme_1

Repository files navigation

Smartathon by SDAIA - Theme 1

ezgif com-gif-maker

Description

Visual Pollution detection project in KSA by SDAIA dataset.

Getting Started

  1. Getting the dataset from the Smartathon challange webiste
  2. Train/test using YOLOv5 using our code with S,M,L,X models on Google Colab.
  3. Evaluate and visualize the trained model on the test data.
  4. Measure the Mean Average Precision (mAP) and Intersection Over Union (IoU).
  5. Inference/run the model/weights on new/unseen data.
  6. Convert the best.pt model into ONNX format to be used later with OpenCV DNN for deployment (Currently, not needed in this project).
  7. Export the best.onnx model into your local machine or mount it to your drive.

Dependencies

  • Google Colab for online training/testing
  • Linux or Window 10 for local training/testing
  • High GPU for faster training
  • CUDA +11.0
  • cuDNN +8.0
  • Anaconda
  • Python +3.8.0
  • PyTorch +1.11.0

Dataset

Program executing

  • Make sure you convert the coordinates form the CSV into YOLO format using the given code.

  • For training/testing, go to the Source code and download the file, then uplaod it into Google Colab.

Result

You can download our model from here and also the labels result coordinates from here.

vis1

vis1

Demo Video

These videos have been captured from real world streets in KSA, and we run our model on them to demonstrate how the model can be implemented in real world. Please clink on the videos to watch them

Authors

Azzam Alhussain
Abdulrahman Alghamdi
Ahmed Kabli

License

This project is licensed under the MIT license - see the LICENSE.md file for details

Acknowledgments

Inspiration, code snippets, etc.

About

Visual Pollution detection project in KSA by SDAIA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published