-
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
[examples] adding the references for the new video API #2770
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2770 +/- ##
==========================================
+ Coverage 73.15% 73.70% +0.55%
==========================================
Files 96 96
Lines 8396 8695 +299
Branches 1315 1408 +93
==========================================
+ Hits 6142 6409 +267
- Misses 1855 1877 +22
- Partials 399 409 +10
Continue to review full report at Codecov.
|
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.
Thanks for the changes!
I think there are a few minor bugs, but once those are fixed we can merge this to unblock and move forward
examples/python/VideoAPI.ipynb
Outdated
" # get random sample\n", | ||
" path, target = random.choice(self.samples)\n", | ||
" # get video object\n", | ||
" vid = torch.classes.torchvision.Video(path, \"video\")\n", |
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.
nit: update to the final path of Video
examples/python/VideoAPI.ipynb
Outdated
@@ -0,0 +1,672 @@ | |||
{ |
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.
Can we change the name of the video to follow snake_case
? None of the files in the repo (apart from from C++ files) use CamelCase
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.
do you mean the name of the file?
done if so
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.
Approving to move forward with this
* gitignore now supports IPYNB aux files * Adding the reference ipython notebook * Update location * link fix * Add autodownload for colab * rename and address fmassa's comments * nitpicks * nitpicks * Apply suggestions from code review Co-authored-by: Francisco Massa <[email protected]>
* gitignore now supports IPYNB aux files * Adding the reference ipython notebook * Update location * link fix * Add autodownload for colab * rename and address fmassa's comments * nitpicks * nitpicks * Apply suggestions from code review Co-authored-by: Francisco Massa <[email protected]>
Simple IPYNB reference for using the new video API.