cyrildiagne / u2net-http

HTTP Wrapper for U^2-Net (Qin et al, Pattern Recognition 2020)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why resizing twice during inference?

alwc opened this issue · comments

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?

same question