Skip to content

Background Images #126

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

Open
abhishekdey001 opened this issue Apr 8, 2025 · 7 comments
Open

Background Images #126

abhishekdey001 opened this issue Apr 8, 2025 · 7 comments

Comments

@abhishekdey001
Copy link

Is it necessary to include background images during model training as we do in YOLO ? If yes please let me know how to do that in COCO format. Thanks

@SkalskiP
Copy link
Collaborator

SkalskiP commented Apr 8, 2025

Hi @abhishekdey001 👋🏻 Thanks for your interest in RF-DETR! I don’t think such strategies are necessary in this case. @probicheaux / @isaacrob-roboflow — do you have any thoughts on this?

@isaacrob-roboflow
Copy link
Collaborator

What do you mean by background images?

@SkalskiP
Copy link
Collaborator

SkalskiP commented Apr 8, 2025

@isaacrob-roboflow
Copy link
Collaborator

Oh. I mean it's probably sane to have them as otherwise the model has a prior that all images should contain some object. I'm not sure why they'd be more important for YOLO then for DETR

@SkalskiP
Copy link
Collaborator

SkalskiP commented Apr 8, 2025

@isaacrob-roboflow will our data loader load empty examples?

@isaacrob-roboflow
Copy link
Collaborator

Probably. Surely there are empty images in COCO, o365, or RF100-VL

@sctrueew
Copy link

sctrueew commented Apr 9, 2025

Hi all, I recently added background images to my dataset and converted it to the COCO format. Then, I trained it on my dataset, and I encountered no problems.

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

No branches or pull requests

4 participants