fffiloni commited on
Commit
c798d8a
1 Parent(s): dd47853

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def infer():
116
  model = raft_large(weights=Raft_Large_Weights.DEFAULT, progress=False).to(device)
117
  model = model.eval()
118
 
119
- list_of_flows = model(input_frame_1.to(device), input_frame_2.to(device))
120
  print(f"list_of_flows type = {type(list_of_flows)}")
121
  print(f"list_of_flows length = {len(list_of_flows)} = number of iterations of the model")
122
 
 
116
  model = raft_large(weights=Raft_Large_Weights.DEFAULT, progress=False).to(device)
117
  model = model.eval()
118
 
119
+ list_of_flows = model(img1_batch.to(device), img2_batch.to(device))
120
  print(f"list_of_flows type = {type(list_of_flows)}")
121
  print(f"list_of_flows length = {len(list_of_flows)} = number of iterations of the model")
122