Darknet: YOLOv2 training gives "Segmentation fault" after some iterations

Created on 10 Nov 2017  Â·  4Comments  Â·  Source: pjreddie/darknet

I am trying to train a custom dataset using YOLOv2 on a GTX1080 card with Batch size = 64 and Subdivisions = 8. With the tiny-yolo (& any .cfg) after some iterations ( 10~100), it gives segmentation fault (core dumped). I am sure to put the images and labels properly formatted. I have tried with OPENCV = 0 but nothing improved. I also cant figure out how to use the DEBUG option.
I have tried with different Batch and Subdivision numbers but in vein. I had trained earlier version of YOLO easily but the new version is giving me headache.
screenshot from 2017-11-11 02-11-01

Can anyone help?

Most helpful comment

maybe there are some invalid coordinate data like zero in your label files

All 4 comments

I can train COCO dataset without any error. However, my own dataset gives the Segmentation fault. I had triple checked the directory structures and label formats.

maybe there are some invalid coordinate data like zero in your label files

Yes I had figured it out. Thanks although.

how to solve coordinate data like zero in your label files?
@xhuvom

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sujithm picture sujithm  Â·  3Comments

ryuzakinho picture ryuzakinho  Â·  4Comments

job2003 picture job2003  Â·  3Comments

spaul13 picture spaul13  Â·  3Comments

AaronYKing picture AaronYKing  Â·  3Comments