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

what's the valid mask #79

Open
ooochen-30 opened this issue May 3, 2023 · 5 comments
Open

what's the valid mask #79

ooochen-30 opened this issue May 3, 2023 · 5 comments

Comments

@ooochen-30
Copy link

@Janspiry i want to train a inpainting diffuison by my own mask, some of them can get rational result but more of them get a black image. i wonder what's the valid mask, can someone give me a help or have somebody miss the same problem

@Liiiii2101
Copy link

Hey, have you figured out the solution? I'm working on similar tasks

@ooochen-30
Copy link
Author

i solve my problem by changing the picture storage format from JPEG to PNG. As the jpg format does not guarantee the binarization of images.

@Liiiii2101
Copy link

Thanks! will give it a try. Can I ask how's the model performance for you?

@ooochen-30
Copy link
Author

i load the pretrained model of inpainting_places and use 7w+ data, only after serveral epochs it perform great

@xmhGit
Copy link

xmhGit commented Jan 29, 2024

So, I think we need to define a new function in 'mask.py' to load our own masks, right?
And I'm wondering if this generative way can maintain the diversity (that possessed by diffusion models) or not.
Hoping to get your insights about that.

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