pytorch-deform-conv icon indicating copy to clipboard operation
pytorch-deform-conv copied to clipboard

Input image w!=h

Open wangchust opened this issue 7 years ago • 5 comments

Hi~ Does anyone know what if input image w!=h, e.g h=256,w=128. where shoud i change?

wangchust avatar Jan 17 '18 07:01 wangchust

I am afraid that there is no simple solution, you will need to make modification on each the deform_cov, try to search input_size, and change accordingly to width and height. I would be happy if you could make an PR afterwards.

oeway avatar Jan 17 '18 16:01 oeway

I met the same problem.

Andybert avatar Jan 21 '18 08:01 Andybert

There is a pull request for that, can we review and merge?

bkvie avatar Mar 16 '18 17:03 bkvie

@bkvie thanks for the reminder, I will do that soon.

oeway avatar Mar 16 '18 18:03 oeway

@rouniuyizu @bkvie I have just manually merged PR #3 , please try and report unexpected issues, notice that in the PR the coordinates are now not clipped, that may cause problem. Thank you.

oeway avatar Mar 26 '18 15:03 oeway