oeway / pytorch-deform-conv

PyTorch implementation of Deformable Convolution
MIT License
911 stars 151 forks source link

Input image w!=h #11

Open wangchust opened 6 years ago

wangchust commented 6 years ago

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

oeway commented 6 years ago

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.

Andybert commented 6 years ago

I met the same problem.

bkvie commented 6 years ago

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

oeway commented 6 years ago

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

oeway commented 6 years ago

@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.