sampepose / flownet2-tf

FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
MIT License
405 stars 195 forks source link

deal with different resolution pictures as input #25

Open jsczzzk opened 6 years ago

jsczzzk commented 6 years ago

This program can only accept 512X384 resolution, other resolutions will be wrong,How to make it accept any resolution picture

ozherelkov97 commented 6 years ago

did you solve it?

jsczzzk commented 6 years ago

I modified the antipad() in utils.py to suit the deconv

ozherelkov97 commented 6 years ago

so now it takes images of any resolution? can you give your code of antipad(), please?

jsczzzk commented 6 years ago

No,different images are required for different antipad(),I write three kind of antipad() to suit Sintel,KITTI and Middlebury

ozherelkov97 commented 6 years ago

Ok, thank you! https://github.com/vt-vl-lab/tf_flownet2 if you are still interested in it