Skip to content

Commit 3c94a49

Browse files
authored
Fix minor typo in optical flow gallery example (#6163)
1 parent 9430be7 commit 3c94a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gallery/plot_optical_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def preprocess(img1_batch, img2_batch):
180180
# # Note: it would be faster to predict batches of flows instead of individual flows
181181
# img1, img2 = preprocess(img1, img2)
182182

183-
# list_of_flows = model(img1.to(device), img1.to(device))
183+
# list_of_flows = model(img1.to(device), img2.to(device))
184184
# predicted_flow = list_of_flows[-1][0]
185185
# flow_img = flow_to_image(predicted_flow).to("cpu")
186186
# output_folder = "/tmp/" # Update this to the folder of your choice

0 commit comments

Comments
 (0)