Darknet: Non labeled objects

Created on 13 Aug 2018  路  2Comments  路  Source: AlexeyAB/darknet

@AlexeyAB , I found some error detection: I trained the model with goods(drink, chocolate, etc.) but it could detect faces.
and I found this:
"desirable that your training dataset include images with non-labeled objects that you do not want to detect - negative samples without bounded box (empty .txt files) - use as many images of negative samples as there are images with objects"

So I decide to add some non-labeled images with empty .txt files(same name with the images), but when I train it I got these errors:
"Can't open label file. (This can be normal only if you use MSCOCO)"

Thank you.

Solved

Most helpful comment

@anguoyang

@AlexeyAB , I found some error detection: I trained the model with goods(drink, chocolate, etc.) but it could detect faces.
and I found this:
"desirable that your training dataset include images with non-labeled objects that you do not want to detect - negative samples without bounded box (empty .txt files) - use as many images of negative samples as there are images with objects"

Check, are there empty .txt files for non-labeled images?

All 2 comments

@anguoyang

@AlexeyAB , I found some error detection: I trained the model with goods(drink, chocolate, etc.) but it could detect faces.
and I found this:
"desirable that your training dataset include images with non-labeled objects that you do not want to detect - negative samples without bounded box (empty .txt files) - use as many images of negative samples as there are images with objects"

Check, are there empty .txt files for non-labeled images?

@AlexeyAB thank you, its my mistake

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Cipusha picture Cipusha  路  3Comments

rezaabdullah picture rezaabdullah  路  3Comments

louisondumont picture louisondumont  路  3Comments

off99555 picture off99555  路  3Comments

qianyunw picture qianyunw  路  3Comments