Building a web dashboard to monitor the usage of parking area and meeting room using machine learning
Yolov3 Custom dataset final product : https://colab.research.google.com/drive/12Q-C6Ga93Od27cnzotWMPncvwXCpu1LO?usp=sharing
The process of training a custom dataset model that utilizes storage drives: https://drive.google.com/drive/folders/1pJFGKdozDHO2j-OryDAubuwhTY9xcGsN?usp=sharing
Please Make sure you've already have dataset whichis the contain is annotated by yolo format using labelimg
- Set runtime type using python3 and select hardware accelerator T4 GPU
- Run the following command to activate GPU in google colab
!nvidia-smi- Utilize existing storage on Google Drive
from google.colab import drive
drive.mount('/content/drive')- for the preparation need some configure from Yolov3 darknet official repo:
!git clone https://github.com/AlexeyAB/darknet.git- set for configure and compile the repo
%cd /content/darknet/
!sed -i 's/OPENCV=0/OPENCV=1/' Makefile
!sed -i 's/GPU=0/GPU=1/' Makefile
!sed -i 's/CUDNN=0/CUDNN=1/' Makefile
!make- set Pre-Trained configure layers and adjust the data already annotated
- copy the file configuration (.cfg) to local storage(gdrive)
- load your dataset and extract the zip dataset to directed in gdrive storage
- download PRE-TRAINED yolo weights https://pjreddie.com/media/files/darknet53.conv.74
- Train your customize dataset with pre-tarain models
%cd ../../
!cd darknet && ./darknet detector train data/obj.data cfg/yolov3_training.cfg darknet53.conv.74 -dont_showfrom that repo I only did the GPU configuration and working environment, and customized the .cfg file to fit my dataset the process directed to my local drive, and I also Utilize the training procces in colab with existing pre-trained Yolov3 darknet
after all the processes from the steps above it will produce (.weights) as yolov3 format, where the training results file will be converted to tensorflow (.h5) format and that has been successful, I wanted to make additional custom Dense Layer but I think it will take a lot of time So I decided use the format (.h5) as Yolov3 Models to carry out inference prediction which is done at :

