fffiloni commited on
Commit
c0f109a
1 Parent(s): c5595d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def write_flo(flow, filename):
57
  f.close()
58
 
59
  def warp_flow(img, flow):
60
- flow = flow.cpu().data.numpy()
61
  h, w = flow.shape[:2]
62
  flow = flow.copy()
63
  flow[:, :, 0] += np.arange(w)
 
57
  f.close()
58
 
59
  def warp_flow(img, flow):
60
+ #flow = flow.cpu().data.numpy()
61
  h, w = flow.shape[:2]
62
  flow = flow.copy()
63
  flow[:, :, 0] += np.arange(w)