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

Visualization Legend Bugs? #52

Closed
Lecanyu opened this issue Jan 9, 2018 · 5 comments
Closed

Visualization Legend Bugs? #52

Lecanyu opened this issue Jan 9, 2018 · 5 comments
Assignees
Milestone

Comments

@Lecanyu
Copy link

Lecanyu commented Jan 9, 2018

Hi,

I have tried to visualize a labeled .json file. But the visualization result is wrong.

Specifically, I labeled one image in labelme and it looks like
image

Then I visualized labeled json file.
image

As you can see, the legend in visualization is wrong.

I guess that the error is caused by overlapped label area between water (red polygon in the first image) and lamppost (blue polygon in the first image)

Is it a bug? Does this error cause wrong label id in final dataset?

Any solutions will be appreciated.

@wkentaro
Copy link
Member

wkentaro commented Jan 9, 2018

I think something is wrong in your environment or your annotation.
And I think you can check the sanity of your annotation with

sample file:

and utility scripts:

Maybe you should try below:

./labelme_draw_json ../static/apc2016_obj3.json
./labelme_draw_json <your json file>

# check what is different
labelme ../static/apc2016_obj3.json
labelme <your json file>
less ../static/apc2016_obj3.json
less <your json file>

@Lecanyu
Copy link
Author

Lecanyu commented Jan 10, 2018

Hi,

I have tried your sample file by your scripts and my installed scripts. They produce the same result.

your sample file looks like
image

In labelme.
image

They look like good.

However, your scripts and my installed scripts don't work in my json file.
You can try it in this link

@wkentaro
Copy link
Member

wkentaro commented Feb 1, 2018

@Lecanyu
#59 fixes this issue, and I got the result below. Does this look okay for you?

figure_1

@Lecanyu
Copy link
Author

Lecanyu commented Feb 1, 2018

Yes. I think it works normally now.

Did you upload you newest code?

@wkentaro wkentaro added the bug label Feb 1, 2018
@wkentaro wkentaro self-assigned this Feb 1, 2018
@wkentaro
Copy link
Member

wkentaro commented Feb 2, 2018

Yeah, Please use the current master branch.

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