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

How to inference with different input sizes? #45

Open
KirkZhengYW opened this issue Apr 15, 2022 · 1 comment
Open

How to inference with different input sizes? #45

KirkZhengYW opened this issue Apr 15, 2022 · 1 comment

Comments

@KirkZhengYW
Copy link

Hi!I need to infer image with size 370*1226 without cropping. Is there any args in the code that I can change to directly conduct it?

@JUGGHM
Copy link
Owner

JUGGHM commented Apr 15, 2022

Thanks for your interest Krik! You could change args.val_h and args.val_w. However, these values should be carefully set as the raw inputs are down-sampled 5 times in the model, which means that the height and width should be integer multiple of 32 pixels.

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