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 palette type. #27

Merged
merged 1 commit into from
Jul 23, 2020
Merged

Fix palette type. #27

merged 1 commit into from
Jul 23, 2020

Conversation

yaochaorui
Copy link
Contributor

Traceback` (most recent call last):  File "tools/demo.py", line 21, in <module>
    model.show_result(img, result, out_file='demo_res/'+img)
  File 'mmsegmentation/mmseg/models/segmentors/base.py", line 247, in show_result
    assert palette.shape[0] == len(self.CLASSES)
AttributeError: 'list' object has no attribute 'shape'

@CLAassistant
Copy link

CLAassistant commented Jul 22, 2020

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Jul 22, 2020

Codecov Report

Merging #27 into master will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   81.41%   81.41%           
=======================================
  Files          71       71           
  Lines        3158     3158           
  Branches      493      493           
=======================================
  Hits         2571     2571           
  Misses        497      497           
  Partials       90       90           
Flag Coverage Δ
#unittests 81.41% <0.00%> (ø)

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

Impacted Files Coverage Δ
mmseg/models/segmentors/base.py 45.37% <0.00%> (ø)

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 1bedfe3...53973b7. Read the comment docs.

@OpenMMLab-Assistant-007
Copy link

Hi!
@yaochaorui
First of all, we want to express our gratitude for your significant PR in the OpenMMLab project. Your contribution is highly appreciated, and we are grateful for your efforts in helping improve this open-source project during your personal time. We believe that many developers will benefit from your PR.

We would also like to invite you to join our Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA

If you have WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:)
Thank you again for your contribution❤

wjkim81 pushed a commit to wjkim81/mmsegmentation that referenced this pull request Dec 3, 2023
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.

5 participants