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

Have trouble with g_mask.py #14

Closed
yangyingni opened this issue Jul 10, 2019 · 6 comments
Closed

Have trouble with g_mask.py #14

yangyingni opened this issue Jul 10, 2019 · 6 comments

Comments

@yangyingni
Copy link

I put CelebAMask-HQ-mask-anno under Datapreprocessing,and ran g_mask.py,but the pictures generated in CelebAMask-HQ-mask were black.Why?Shouldn't it be full labels?

@yangyingni
Copy link
Author

I put CelebAMask-HQ-mask-anno under Datapreprocessing,and ran g_mask.py,but the pictures generated in CelebAMask-HQ-mask were black.Why?Shouldn't it be full labels?

I read the demo,it just generated filenames,but didn't generate full labels.

@steven413d
Copy link
Collaborator

The generated masks are one channel images (0 ~ 255), and the label values only range from 0 ~ 19. As a result, they would look black.

@yangyingni
Copy link
Author

Thank you very much. It's kind of you.

@swagzhang
Copy link

I am having the same problem. I looked into it, simply it did not found the file.
if (os.path.exists(filename)) returns false all the time I dont know why

@yangyingni
Copy link
Author

Mine are different from yours. I just found the pictures generated were all black.

@steven413d
Copy link
Collaborator

@lz2470 Please check if the source file path (folder_base in g_mask.py) is correct.

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

3 participants