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

[Fix] Add COCOStuffDataset in class_names.py. #1222

Merged
merged 2 commits into from
Jan 22, 2022

Conversation

MengzhangLI
Copy link
Contributor

@MengzhangLI MengzhangLI commented Jan 20, 2022

Motivation

Without class names or palette value of COCOStuffDataset, community members sometimes may encounter errors when they use COCO-Stuff 10k or COCO-Stuff 164k dataset for visiualization or other operations.

Modification

Add palette and class names in mmseg/core/evaluation/class_names.py.

@codecov
Copy link

codecov bot commented Jan 20, 2022

Codecov Report

Merging #1222 (b14d8a1) into master (b997a13) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1222   +/-   ##
=======================================
  Coverage   90.13%   90.13%           
=======================================
  Files         127      127           
  Lines        7447     7451    +4     
  Branches     1240     1240           
=======================================
+ Hits         6712     6716    +4     
  Misses        530      530           
  Partials      205      205           
Flag Coverage Δ
unittests 90.13% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmseg/core/evaluation/class_names.py 91.66% <100.00%> (+0.75%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7512f05...b14d8a1. Read the comment docs.

@MengzhangLI MengzhangLI self-assigned this Jan 20, 2022
@MengzhangLI MengzhangLI added the Merging PR waited for merging label Jan 20, 2022
@MeowZheng MeowZheng merged commit 5b310a0 into open-mmlab:master Jan 22, 2022
@MengzhangLI MengzhangLI removed the Merging PR waited for merging label Jan 22, 2022
@MengzhangLI MengzhangLI deleted the add_cocostuff_class_names branch February 1, 2022 03:19
bowenroom pushed a commit to bowenroom/mmsegmentation that referenced this pull request Feb 25, 2022
* add cocostuff in class_names

* add more class names
aravind-h-v pushed a commit to aravind-h-v/mmsegmentation that referenced this pull request Mar 27, 2023
…lab#1222)

* Match the generator device to the pipeline for DDPM and DDIM

* style

* fix

* update values

* fix fast tests

* trigger slow tests

* deprecate

* last value fixes

* mps fixes
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

Successfully merging this pull request may close these issues.

3 participants