-
Notifications
You must be signed in to change notification settings - Fork 532
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
Train on images without boxes #69
Comments
Hi @andraugust , therectically, yes. The background images will only provide negative samples. You just need to make sure there is at least one image with bounding boxes (positie samples) in every batch during training. |
I succeed make the training support background images. you need modify |
How can we reduce the number of default boxes per feature map? |
Could you be more specific? |
@Barath19 we can do that. Following changes are with-respect-to SSD-Mobilenet-V2-Lite 1. ~\pytorchssd\vision\ssd\config\mobilenetv1_ssd_config.py 2. ~\pytorch-ssd\vision\utils\box_utils.py Inside the function generate_ssd_priors, the author generates 2 square boxes + 2-variable-sized boxes of a given aspect ratio. 3. ~pytorch-ssd\vision\ssd\mobilenet_v2_ssd_lite.py In this file, there are two lists called classification_headers and regression_headers, |
Was there ever an answer to how to train on negative images? |
Thanks for the great package!
Is it possible to train on images that don't have boxes in them?
I have several images without boxes that serve as background examples. I'd like the model to learn from these. I believe the dataloader is set up to only load images with boxes, is this true?
The text was updated successfully, but these errors were encountered: