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

Non-Multiple-of-8 Dimensions Cause Errors in Custom Pipeline #1602

Closed
zixuzhuang opened this issue Feb 12, 2025 · 1 comment
Closed

Non-Multiple-of-8 Dimensions Cause Errors in Custom Pipeline #1602

zixuzhuang opened this issue Feb 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@zixuzhuang
Copy link

Description
When using a custom pipeline that reads masks, images with dimensions that are not multiples of 8 cause critical issues. Specifically:

The software may freeze when processing such images.
The mask regions may be distorted into abnormal slanted shapes instead of being correctly processed.
This issue significantly impacts workflows that require precise mask handling.

Steps to Reproduce
Use a custom pipeline that processes masks.
Input an image with dimensions that are not multiples of 8.
Observe the system behavior: it either hangs (e.g., 1215x1836) or incorrectly distorts the mask region (e.g., 763x1220).

Expected Behavior
The software should handle non-multiple-of-8 dimensions gracefully.
The mask should retain its correct shape without distortion.

@Acly Acly added the bug Something isn't working label Feb 12, 2025
@Acly
Copy link
Owner

Acly commented Feb 21, 2025

Fixed in v1.31.2

@Acly Acly closed this as completed Feb 21, 2025
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

No branches or pull requests

2 participants