For training YOLOv4 with custom dataset. For training YOLOv4 with custom dataset to detect pedestrian traffic lights, first we need to acquired public dataset for training from Marcelo C. Ghilardi, et. al.[1] and Samuel et. Al[2]. Once the training dataset is procured, then proceeded to generate the annotation file for…