-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datapoint -> TVTensor; datapoint[s] -> tv_tensor[s] #7894
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/7894
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New Failures, 4 Unrelated FailuresAs of commit e6e37bb with merge base b9447fd ( NEW FAILURES - The following jobs have failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
gallery/others/plot_video_api.py
Outdated
@@ -86,7 +86,7 @@ | |||
print("PTS for first five frames ", ptss[:5]) | |||
print("Total number of frames: ", len(frames)) | |||
approx_nf = metadata['audio']['duration'][0] * metadata['audio']['framerate'][0] | |||
print("Approx total number of datapoints we can expect: ", approx_nf) | |||
print("Approx total number of tv_tensors we can expect: ", approx_nf) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will revert
dispatch their inputs to the appropriate lower-level kernels. Most users do not | ||
need to manipulate datapoints directly and can simply rely on dataset wrapping - | ||
need to manipulate tv_tensors directly and can simply rely on dataset wrapping - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Occurrences like this "tv_tensor" one should probably become "TVTensor". But this can be done in a follow-up PR that cleans the docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slight preference for this over #7895.
Summary: (Note: this ignores all push blocking failures!) Reviewed By: matteobettini Differential Revision: D48900381 fbshipit-source-id: 86f83471c658acc2d514dc0f900dfd33c51be370
Alternative to #7895
cc @vfdev-5