DiaaZiada / Object-Counter-YOLOV3

Object counter is toolkit uses YOLO V3(you only look once version 3) algorithm. this toolkit not only make object detection on images/videos but also count the number of objects presents in the image/video.
26 stars 4 forks source link

ZeroDivisionError: division by zero #4

Open abhay-iy97 opened 3 years ago

abhay-iy97 commented 3 years ago

Hi @DiaaZiada I'm trying to train Yolov3 on a custom dataset for object counting but I'm running into this issue (ZeroDivisionError: division by zero) in the first epoch of training.

Data folder structure is as mentioned in the README and as followed from here: https://medium.com/@anirudh.s.chakravarthy/training-yolov3-on-your-custom-dataset-19a1abbdaf09

data/

config/

classes= 18 train = data/train.txt valid = data/test.txt names = data/obj.names backup = backup/

Any idea what could be going wrong?