-
Notifications
You must be signed in to change notification settings - Fork 857
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
[GSoC] 210-Video Recognition using SlowFast #922
Conversation
Notebook demonstrating conversion and inference of the SlowFast model for Action Classification using OpenVino.
Added README describing the objectives, contents and installation steps for the SlowFast video recognition notebook
Added entries for the SlowFast video recognition notebook in notebooks overview tables
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Thank you for your contribution. Before we do the review please do the self-check first (tick the item when it's done):
We will review only if all the above items are checked. |
- Added missing dependency causing build to fail - Updated README
Use classes from the typing library for type hinting generics to ensure backward compatibility with earlier Python versions
Fix typos and resolve styling issues in the SlowFast Video Recognition notebook.
Skip repo validation for TorchHub models due to known bug in `torch.hub` with Github CI (pytorch/vision#4156)
Hello @adrianboguszewski Thank you for the feedback. Please find the status of the self-check items below:
|
I would also like to bring to your attention that one of the CI tests has failed, which appears to be unrelated to the notebook I am currently adding. Upon further investigation, I have discovered an issue with one of the libraries utilized in that notebook to download a video from YouTube. As a result, I have submitted a fix for the problem (#929). However, the fix involves the addition of the mentioned video to the I would appreciate it if you could take a moment to review the fix and provide any feedback or suggestions you may have. |
Thanks, @rajatkrishna for the fix :) Please rebase your work now. We will review your PR when we have some resources. Please note we're reviewing PRs in FIFO style. |
Hey @adrianboguszewski, Just FYI, all changes are in and rebased. CI tests are still failing due to a dependency/notebook unrelated to mine. |
@@ -0,0 +1,567 @@ | |||
{ |
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.
Line #38. post_act = torch.nn.Softmax(dim=1)
I dont know can we use numpy instead of torch in this data process pipeline, so we can deploy openvino model without torch dependency
Reply via ReviewNB
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.
Replaced torch with numpy in the data process pipeline.
The only use of torch.tensor is to feed input to the PyTorch model.
Additionally, CI tests are failing due to unrelated notebooks.
Use numpy instead of pytorch for processing input data to avoid torch dependency during model deployment.
notebooks/210-slowfast-video-recognition/210-slowfast-video-recognition.ipynb
Show resolved
Hide resolved
notebooks/210-slowfast-video-recognition/210-slowfast-video-recognition.ipynb
Show resolved
Hide resolved
@rajatkrishna thank you for your contribution, it is great notebook example. Please fix my small remarks and we are ready to merge your notebook :) |
* Added notebook for SlowFast video recognition Notebook demonstrating conversion and inference of the SlowFast model for Action Classification using OpenVino. * Add README for SlowFast Video Recognition notebook Added README describing the objectives, contents and installation steps for the SlowFast video recognition notebook * Update README Added entries for the SlowFast video recognition notebook in notebooks overview tables * Add binder badge for SlowFast video recognition notebook * Styling changes * Fix failed build- missing dependency - Added missing dependency causing build to fail - Updated README * Use proper type classes for type hinting Use classes from the typing library for type hinting generics to ensure backward compatibility with earlier Python versions * Text and styling changes Fix typos and resolve styling issues in the SlowFast Video Recognition notebook. * Potential fix for failing build- skip torch.hub repo validation Skip repo validation for TorchHub models due to known bug in `torch.hub` with Github CI (pytorch/vision#4156) * Removed torch dependency in the data processing pipeline Use numpy instead of pytorch for processing input data to avoid torch dependency during model deployment. * style fix fix missing whitespace around arithmetic operator * Install dependencies in quiet mode * Add link to dataset
Video Recognition using SlowFast and OpenVINO
Added the notebook for Video Recognition using SlowFast model in this PR. Demonstrates steps to achieve the following:
Issue: #832