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

my ignore label is zero,how can i set a bunch of parameters? #147

Closed
York1996OutLook opened this issue Sep 23, 2020 · 2 comments
Closed

Comments

@York1996OutLook
Copy link

label zero(bg) is ignore label
how can i set

CLASSES = ('bg','freespace_road', 'road_patch', 'road_concave_convex', 'road_breakage', 'road_crack', 'manhole_cover', 'road_mark', 'speed_bumps', 'across_rail', 'nonstandard_obstacle',)

' CLASSES = ('bg','freespace_road', 'road_patch', 'road_concave_convex', 'road_breakage',
'road_crack', 'manhole_cover', 'road_mark', 'speed_bumps',
'across_rail', 'nonstandard_obstacle',)'

reduce_zero_label=true or false?
ignore_index=255 or 0?
num_classes=10 or 11?
# class_weight = [0.12, 25.9,
# 2.0, 15.2,
# 31.4, 11.5,
# 4.4, 68.6,
# 10.0, 295.6
# ], or 11 nums?
i got confused.

@xvjiarui
Copy link
Collaborator

Hi @York1996OutLook
If you bg correspond to 0 in annotation, you should set reduce_zero_label=True.
Then class_weight should be 10.

@haims-hblab
Copy link

I also use 0 as background, here my config. Hope it could help.

image

MeowZheng added a commit that referenced this issue Dec 12, 2022
CodeCamp #147 [Doc] Add Chinese version of train & test tutorial
MeowZheng pushed a commit to MeowZheng/mmsegmentation that referenced this issue Dec 30, 2022
…orial open-mmlab#2355

* doc

* modify part of content

* changed parts of content

* modified

* Update docs/zh_cn/user_guides/4_train_test.md

Co-authored-by: 谢昕辰 <xiexinch@outlook.com>
MeowZheng pushed a commit that referenced this issue Dec 30, 2022
doc

modify part of content

changed parts of content

modified

Update docs/zh_cn/user_guides/4_train_test.md

Co-authored-by: 谢昕辰 <xiexinch@outlook.com>
wjkim81 pushed a commit to wjkim81/mmsegmentation that referenced this issue Dec 3, 2023
* add models

* add wholebody models

* add models

* add wholebody models
sibozhang pushed a commit to sibozhang/mmsegmentation that referenced this issue Mar 22, 2024
nahidnazifi87 pushed a commit to nahidnazifi87/mmsegmentation_playground that referenced this issue Apr 5, 2024
…orial (2355)

doc

modify part of content

changed parts of content

modified

Update docs/zh_cn/user_guides/4_train_test.md

Co-authored-by: 谢昕辰 <xiexinch@outlook.com>
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

3 participants