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

default supervision #2

Open
DevinCheung opened this issue Aug 21, 2023 · 1 comment
Open

default supervision #2

DevinCheung opened this issue Aug 21, 2023 · 1 comment

Comments

@DevinCheung
Copy link

Hi,

Thanks for your awesome work! I am not sure whether I tried accurately. But I found that the default setting uses full supervision (classification labels, bboxes, and masks). Although the path to point supervision is set in "coco_points.py" and "voc_points.py". They are actually not used during training. How to use point supervision properly? Also where is the edge detection model used? Thanks!

@LiWentomng
Copy link
Owner

@DevinCheung
Hello, our data_load pipline still uses the same way like full mask supervision, while it loads the point-based mask label. Our data_load pipline may incur some confusion, we will refine the codes of this part.

For details, in the loss calculation , the "gt_labels_list" represents the categories of all the thing points, the "gt_masks_list" contains the corresponding masks for each point, and the "gt_semantics_list" indicates the category of each pixel (with non-labeled points represented as 255). These are all for point supervision. As for "gt_bboxes_list", we do not utilize it in our code.

Regarding the edge detection model, it is an optional component that can be employed for low-level edge detection in the line. Using low-level edge detection can result in some performance improvement, while it also demands more time for training. Therefore, we have opted to disable it by default. When using it, the edge model path should be specified in the corresponding config file, and set "use_low_level_edge" to True, as demonstrated here:

use_low_level_edge=False,
edge_model_path="/path/to/model.yml.gz",

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