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
Why using cls labels to generate CAMs at inference time? Is it valid? #16
Comments
Hi @Siyuan-Zhou , |
@YudeWang Thanks for your quick reply! I exactly know that you use your generated pseudo segmentation masks to train a segmentation model separately. However, what I am talking about is that in the inference stage you use ground truth category-level labels (i.e. cls labels) to select CAMs, see infer_SEAM.py (line 79 to line 82). I am wondering whether ground truth category-level labels (i.e. cls labels) can be used during inference. |
@Siyuan-Zhou |
@bityangke Thanks. |
At val / test time, in infer_SEAM.py (line 79 to line 82), you use GT cls labels to choose CAMs of these categories and save these specified CAMs as .npy files. I am wondering whether using GT cls labels at inference time is valid in weakly-supervised semantic segmentation. Could you provide me with some hints? Much thanks!
The text was updated successfully, but these errors were encountered: