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: expect mask shape with (width, height) order #93

Closed
wants to merge 2 commits into from

Conversation

ktro2828
Copy link
Collaborator

What

As of tier4/tier4_perception_dataset#197, the shape of segmentation mask in T4 dataset is expected as (width, height) order, not (height, width) order.

This PR updates to transform loaded mask in (width, height) to (height, width) order for rendering.

Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
@github-actions github-actions bot added the bug Something isn't working label Jan 30, 2025
Copy link

☂️ Python Coverage

current status: ❌

Overall Coverage

Lines Covered Coverage Threshold Status
2159 1456 67% 50% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
t4_devkit/schema/tables/object_ann.py 81% 🟢
t4_devkit/viewer/rendering_data/segmentation.py 50% 🔴
TOTAL 65% 🔴

updated for commit: 780b812 by action🐍

@ktro2828 ktro2828 closed this Jan 31, 2025
@ktro2828 ktro2828 deleted the fix/segmentation-mask branch February 11, 2025 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant