-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Usage question: How to get binary mask for just 1 class? What class number represent what object? #3440
Comments
Which dataset do you use?
only need to focus on |
@Asthestarsfalll im using a config file Are these the correct ones to use? Ok i will look at the |
@Asthestarsfalll i found out that by using May i know what does "load entire model" do exactly? |
@fatbringer model.set_state_dict(paddle.load(local_path)) to replace it. |
@Asthestarsfalll thank you Another question, i want to try to use the cityscapes SOTA model, the one found at this link https://github.com/PaddlePaddle/PaddleSeg/tree/release/2.8/contrib/CityscapesSOTA I tried downloading the weights using I got the following error
I did not change anything in the yaml file. Should i have changed something? |
@fatbringer Plz use |
@Asthestarsfalll I am sorry I don't understand. What is the 'develop' branch? |
The |
Ah ok. But i am trying to use the pretrain weights of the SOTA Cityscapes. Do i still need to do that? |
Cityscapes is a dataset that contain urban street scenes. If you want to segment human, it's better to use pp_humanseg. And you shouldn't use pretrained weights, the fine-tuned weights is better. |
how should i visualise the items that have TrainID of 255?
I got an out of index error. |
@fatbringer |
问题确认 Search before asking
请提出你的问题 Please ask your question
Hi ! I want to get a binary mask using the semantic segmentation to get regions containing people, and other regions
For example from these 2 pictures
Original picture:

Desired binary mask:

I notice that in the following code that i have attempted
the logit variable contains 19 2D arrays that has the confidence of each class. However, i do not know which class is which class.
Is there a list that i can refer to in order to know what number is which class?
Thank you!
The text was updated successfully, but these errors were encountered: