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 bug for mask loading #173

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix bug for mask loading #173

wants to merge 1 commit into from

Conversation

bopan3
Copy link

@bopan3 bopan3 commented Sep 7, 2023

Hi,
I have identified an issue related to the condition for loading the mask. Since the dimension 0 of the arraay "resized_image_rgb" is for RGBA channels, we should use index 0 instead of index 1.

@Yang-Xijie
Copy link

This PR is correct. However, this line of code will never be executed (check #64 (comment))?

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.

2 participants