u2net-http icon indicating copy to clipboard operation
u2net-http copied to clipboard

Why resizing twice during inference?

Open alwc opened this issue 4 years ago • 1 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?

alwc avatar Oct 14 '20 09:10 alwc

same question

jorjiang avatar Dec 03 '21 18:12 jorjiang