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

Top-right corner not filled. #4

Closed
perladoubinsky opened this issue Feb 26, 2022 · 2 comments
Closed

Top-right corner not filled. #4

perladoubinsky opened this issue Feb 26, 2022 · 2 comments

Comments

@perladoubinsky
Copy link

Hello and thanks for the repo. When changing the size of images from 320x240 to 128x128 or 256x256 in local_test.bash (I didn't make any other modifications to the code) some images appear with the top-right corner not filled (cf. attached example). I don't see this problem with images of size 320x240.
Do you have any idea what might be causing this ?
Thank you.
LOCAL_debug_000003

@karazijal
Copy link
Owner

By changing the aspect ration, extra image space in top and bottom is revealed. The unfilled area is simple the edge of the photo backdrop and black void behind it (nothing else exists in the scene). If you want to render at a different aspect ratio, I would recommend moving the camera closer/zooming in. It can be done by modifying the basic scene file.

Alternatively, you could render at the same aspect ration (4:3) and just cut off left and right sides from images after the rendering is done. That is similar to what happens with ClevrTex and CLEVR benchmarks during data loading.

For purple objects, see Issue 3.

@perladoubinsky
Copy link
Author

Thank you!

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

2 participants