visinf / irr

Iterative Residual Refinement for Joint Optical Flow and Occlusion Estimation (CVPR 2019)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I got this error when I'm trying to save png during validation step to visualize and check the flow image

RokiaAbdeen opened this issue · comments

Hi,
Unfortunately, the current code doesn't support the recent version of pypng.
You can probably try the older version, by running pip install pypng==0.0.18.

it didn't gave me any error when I change pypng to this older version
but on the other side, this is the result image for all frames
Note: I have used your saved pwc_net models for validation
22

That's the png image that is converted into the KITTI optical flow format.
Could you maybe put this flag at the end of the script?:
--save_result_img
This will convert the 2D optical flow map into the visualization format from the Middlebury dataset.

Ok, it works fine
thanks