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

General to arbitary image size #41

Open
RyanHangZhou opened this issue Sep 13, 2021 · 3 comments
Open

General to arbitary image size #41

RyanHangZhou opened this issue Sep 13, 2021 · 3 comments

Comments

@RyanHangZhou
Copy link

RyanHangZhou commented Sep 13, 2021

Very impressive work!
Does this algorithm support image inpainting of arbitray image size?
It seems to have errors if directly dealing with image size that is not 512X512.

@zsyzzsoft
Copy link
Owner

The model currently does not support arbitrary image size, but you can try split the image into multiple parts and inpaint each part separately if the mask is not too large.

@RyanHangZhou
Copy link
Author

The model currently does not support arbitrary image size, but you can try split the image into multiple parts and inpaint each part separately if the mask is not too large.

Thanks! I tried on resized ones and it works well on small-size images. I have to say that the mask is actually very large with my setting, and I don't want to downsample it ...

@zengxianyu
Copy link

We cam make it generalize to arbitrary size by add a global pooling layer to the 'E_4x4' block. However I'm not sure if this would affect the performance

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