-
Notifications
You must be signed in to change notification settings - Fork 863
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
fix batch input - Nvidia DALI #2455
Conversation
Signed-off-by: jagadeesh <jagadeeshj@ideas2it.com>
Codecov Report
@@ Coverage Diff @@
## master #2455 +/- ##
=======================================
Coverage 72.66% 72.66%
=======================================
Files 78 78
Lines 3669 3669
Branches 58 58
=======================================
Hits 2666 2666
Misses 999 999
Partials 4 4 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: jagadeesh <jagadeeshj@ideas2it.com>
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.
Hi @jagadeeshi2i Could you please try running the benchmark tool with your changes.
Few weeks ago, I tried this and I was noticing issues with mismatch related to expected batch_size response and the actual response.
model metric with batch 5
Hi @agunapal I have added the model_metrics.log from benchmark tool. |
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.
Hi @jagadeeshi2i I am guessing you have some uncommitted changes.
I tried your example
Getting this error
2023-07-13T23:02:21,869 [INFO ] W-9000-resnet-18_1.0-stdout MODEL_LOG - response = self.pipe.run(source=batch_tensor)
2023-07-13T23:02:21,869 [INFO ] W-9000-resnet-18_1.0-stdout MODEL_LOG - TypeError: Pipeline.run() got an unexpected keyword argument 'source'
Did you generate new model.dali file ? I have made change to the serialization file -
|
@jagadeeshi2i
I will try it again and update |
hi @jagadeeshi2i I tried it again. I see the same error. I have attached the complete log. Can you please check |
Signed-off-by: jagadeesh <jagadeeshj@ideas2it.com>
Sorry my bad. I have updated the requirements.txt file to point the latest dali version. |
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 @jagadeeshi2i I tried it. It works.
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.
Stamping to unblock I did not test. Will reiterate the DALI code really needs a test
Description
Adds fix for batch input support
Type of change
Modify custom handler to support batch input
ts_log.log
Feature/Issue validation/testing
Please describe the Unit or Integration tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.
Test A
Logs for Test A
Test B
Logs for Test B
Checklist: