Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
3c94a490
Unverified
Commit
3c94a490
authored
Jun 14, 2022
by
Nicolas Hug
Committed by
GitHub
Jun 14, 2022
Browse files
Fix minor typo in optical flow gallery example (#6163)
parent
9430be76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gallery/plot_optical_flow.py
gallery/plot_optical_flow.py
+1
-1
No files found.
gallery/plot_optical_flow.py
View file @
3c94a490
...
...
@@ -180,7 +180,7 @@ plot(grid)
# # Note: it would be faster to predict batches of flows instead of individual flows
# img1, img2 = preprocess(img1, img2)
# list_of_flows = model(img1.to(device), img
1
.to(device))
# list_of_flows = model(img1.to(device), img
2
.to(device))
# predicted_flow = list_of_flows[-1][0]
# flow_img = flow_to_image(predicted_flow).to("cpu")
# output_folder = "/tmp/" # Update this to the folder of your choice
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment