rajat95 / Optical-Flow-Warping-Tensorflow

Implementation of warping with optical flow in tensorflow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any idea how to fix this error?

noobtoob4lyfe opened this issue · comments

Hi when I run the example I get this error. Any idea how I would fix this?

Traceback (most recent call last):
File "warp.py", line 159, in
flow = get_flow(flow_file)
File "warp.py", line 59, in get_flow
data = np.fromfile(f, np.float32, count=2wh)
TypeError: only integer scalar arrays can be converted to a scalar index