Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add negative samples(images without annotations) to mxnet version yolov3? #772

Closed
shadyatscu opened this issue May 10, 2019 · 3 comments
Labels

Comments

@shadyatscu
Copy link

shadyatscu commented May 10, 2019

In original yolov3 implementation, we could easily add negative samples(images without annotations) to training dataset. In mxnet version yolov3, i tried to do the same thing, e.g. for preset module 'yolo3_darknet53_coco' i have to create coco format data without annotation information. The coco data api of glouncvhttps://github.com/dmlc/gluon-cv/blob/bc77dcb42f0549d5389e6b7fece358e12c820a83/gluoncv/data/mscoco/detection.py#L33, there is an option: ' skip_empty : bool, default is True Whether skip images with no valid object. This should be True in training, otherwise it will cause undefined behavior.' what is the meaning of 'undefined behavior'? In cpp version yolov3 repo https://github.com/AlexeyAB/darknet it is said that: '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', has anybody try out this strategy? thanks a lot!

@ivanquirino
Copy link

+1

@chinakook
Copy link
Member

This is important function to reduce false positive. mmdetection add this function to its base. So I suggest that gluon-cv can also add images without annotations to its detection base.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants