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

only use object detection? custom dataset do not have segmentation labels #10

Open
zhenshen-mla opened this issue Nov 10, 2022 · 4 comments

Comments

@zhenshen-mla
Copy link

Thanks for the work. If only detection is used instead of both seg and det , will the mAP decrease? Can you estimate the magnitude of the decline?

@ZhangGongjie
Copy link
Owner

Thanks for your interest in our work! :)

Please note that we only perform object detection, i.e., only bounding box annotations are used during training.

@ZhangGongjie
Copy link
Owner

The keypoints in our work are automatically learned without explicit supervision.

@zhenshen-mla
Copy link
Author

thanks
Here's the code from the main.py

* Segmentation

parser.add_argument('--masks', action='store_true', help="Train segmentation head if the flag is provided")
So how should the parameters be set? the practical task is to detect hidden dangers in the transmission scenario, and it is not clear whether it is better to turn on or off the mask. Note: Trial and error costs are very very high.

@ZhangGongjie
Copy link
Owner

Thanks.

This segmentation flag is only here due to historical reasons. We modify the code from the original DETR, and DETR can be extended for panoptic segmentation by setting this flag. However, in our SAM-DETR, this flag should never be set.

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

2 participants