PENet_ICRA2021 icon indicating copy to clipboard operation
PENet_ICRA2021 copied to clipboard

How to inference with different input sizes?

Open KirkZhengYW opened this issue 3 years ago • 1 comments

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?

KirkZhengYW avatar Apr 15 '22 06:04 KirkZhengYW

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.

JUGGHM avatar Apr 15 '22 15:04 JUGGHM