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

Why resizing twice during inference? #5

Open
alwc opened this issue Oct 14, 2020 · 1 comment
Open

Why resizing twice during inference? #5

alwc opened this issue Oct 14, 2020 · 1 comment

Comments

@alwc
Copy link

alwc commented Oct 14, 2020

Hi @cyrildiagne !

Why did you have to ensure the input image size to be under 1024 max dimension (https://github.com/cyrildiagne/u2net-http/blob/master/main.py#L41-L43), when the image will be eventually resized to 320 x 320 in after RescaleT?

@jorjiang
Copy link

jorjiang commented Dec 3, 2021

same question

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