Visual Pollution detection project in KSA by SDAIA dataset.
- Getting the dataset from the Smartathon challange webiste
- Train/test using YOLOv5 using our code with S,M,L,X models on Google Colab.
- Evaluate and visualize the trained model on the test data.
- Measure the Mean Average Precision (mAP) and Intersection Over Union (IoU).
- Inference/run the model/weights on new/unseen data.
- Convert the best.pt model into ONNX format to be used later with OpenCV DNN for deployment (Currently, not needed in this project).
- Export the best.onnx model into your local machine or mount it to your drive.
- 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
-
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.
You can download our model from here and also the labels result coordinates from here.
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
Azzam Alhussain
Abdulrahman Alghamdi
Ahmed Kabli
This project is licensed under the MIT license - see the LICENSE.md file for details
Inspiration, code snippets, etc.