YOLO 3 Assertion '0' failed error - NOT CR

2019-07-23 03:10发布

I'm looking to train my own object detector using YOLO 3 for a single class. Basically, it needs to detect whether the test images have the object or not. I face an error where the training doesn't begin and exits with an assertion '0' failed. I checked other answers which say that the CRLF must be encoded as LF for it to work on linux. But that solution doesn't work either. I'm following all the steps outlined in pjreddie's website!

2条回答
The star\"
2楼-- · 2019-07-23 04:07

Okay, so what helped was re-starting the server and re-doing everything from the beginning. It hasn't happened again, so I think it was just a random error? I'm not sure though. I will try to look into it further.

查看更多
Juvenile、少年°
3楼-- · 2019-07-23 04:08

The error happens due to image size or with batch size (also sometimes with sub-division also).

You can try to tune the parameters to lower values.

查看更多
登录 后发表回答