EryiXie / PlaneRecNet

This is an official implementation for "PlaneRecNet" (BMVC 2021).
MIT License
79 stars 17 forks source link

inference issue #4

Closed fatandfat closed 2 years ago

fatandfat commented 2 years ago

Hi I'm trying to inference on some of my images and it runs successfully with images with 4:3 ratio, but when I tried on images with size 720*480 there shows some error

And this is my test image 00000206_10002

EryiXie commented 2 years ago

Hi, that's because the image width and height should be divisible by 32. You can write a small function to pad zeros to the resized image so that H and W are divisible by 32. I will also do the same in the next update.

fatandfat commented 2 years ago

Hi, that's because the image width and height should be divisible by 32. You can write a small function to pad zeros to the resized image so that H and W are divisible by 32. I will also do the same in the next update.

ok thanks for your reply and great work