then we created a .obj file with all the classes i.e, with mask and without mask. now, importing images and annotations we created a folder inside build/darknet/x64/data/ with the name obj and pasted all the images and annotations inside this folder. Now, we have created two files train.txt and test.txt, these files will contain the address to every train and test images as these will be needed while training. and all this files are created using a python script named as file_seperator.py inside the folder it basically adds path to every image and annotation. we created a file obj.data in the build/darknet/x64/data folder. then we edit yolo detector file in such a way that every 100 iterations, a file will be created in the build/darknet/x64/backup/ folder of the weights of the last 100 iterations. ( yolo-obj_last.weights).
-
Notifications
You must be signed in to change notification settings - Fork 1
ganapathi12/yolov4_mask_detection
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This is project on mask detection, done by me and my teamate Balaji Dass for a mlh hackathon,Successfully trained yolo model with custom datasets gathred from google and kaggle.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published