simonmeister / UnFlow

UnFlow: Unsupervised Learning of Optical Flow with a Bidirectional Census Loss
MIT License
294 stars 57 forks source link

Running UnFlow on new sets of images/video #40

Closed sahityamantravadi closed 6 years ago

sahityamantravadi commented 6 years ago

Hi, I saw a question about this earlier, but it seemed as though the author resolved it on their own. How can I can use a pretrained model, i.e. CSS, to run with other input images of different size? Thanks!

simonmeister commented 6 years ago

You can take a look at the code in eval_gui.py, it simply does bilinear resizing before passing the image to the net.