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

Specifying one class to be segmented #2

Open
k3nnywilliam opened this issue Jun 19, 2018 · 1 comment
Open

Specifying one class to be segmented #2

k3nnywilliam opened this issue Jun 19, 2018 · 1 comment

Comments

@k3nnywilliam
Copy link

Hi @gustavz

Really cool work! Is there a way to just segment one class, i.e., just a person, instead of detecting various objects in the scene?

@NguyenVanThanhHust
Copy link

You can look at his code. This part : LABEL_NAMES = np.asarray([
'background', 'aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus',
'car', 'cat', 'chair', 'cow', 'diningtable', 'dog', 'horse', 'motorbike',
'person', 'pottedplant', 'sheep', 'sofa', 'train', 'tv'
])

You can choose to display result only if your class is person.

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