-
Notifications
You must be signed in to change notification settings - Fork 135
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
Enhance Datumaro data format detect() to be memory-bounded and performant #1229
Enhance Datumaro data format detect() to be memory-bounded and performant #1229
Conversation
Signed-off-by: Kim, Vinnam <[email protected]>
Signed-off-by: Kim, Vinnam <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #1229 +/- ##
========================================
Coverage 80.44% 80.45%
========================================
Files 269 269
Lines 29919 29944 +25
Branches 5851 5853 +2
========================================
+ Hits 24069 24090 +21
- Misses 4487 4488 +1
- Partials 1363 1366 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
LGTM
…mant (openvinotoolkit#1229) - Ticket no. 127136 Refer to openvinotoolkit#1224 for details on how we obtained the following results. 1. Performance - Before ```console Duration for detecting Datumaro data format: 25784.5ms, format=datumaro ``` - After ```console Duration for detecting Datumaro data format: 5966.8ms, format=datumaro ``` 2. Memory usage - Before ![before](https://github.com/openvinotoolkit/datumaro/assets/26541465/9f6432f7-108d-4d9f-a535-f954bfd55f02) - After ![after](https://github.com/openvinotoolkit/datumaro/assets/26541465/8ff7a1a4-6106-46cc-9f16-74a4979b8a3b) <!-- Put an 'x' in all the boxes that apply --> - [ ] I have added unit tests to cover my changes. - [ ] I have added integration tests to cover my changes. - [x] I have added the description of my changes into [CHANGELOG](https://github.com/openvinotoolkit/datumaro/blob/develop/CHANGELOG.md). - [ ] I have updated the [documentation](https://github.com/openvinotoolkit/datumaro/tree/develop/docs) accordingly - [x] I submit _my code changes_ under the same [MIT License](https://github.com/openvinotoolkit/datumaro/blob/develop/LICENSE) that covers the project. Feel free to contact the maintainers if that's a concern. - [x] I have updated the license header for each file (see an example below). ```python ``` --------- Signed-off-by: Kim, Vinnam <[email protected]>
### Summary - Ticket no 128951 - Apply #1224 and #1229 changes to the releases/1.5.0 branch ### How to test Already tested in the previous PRs. ### Checklist <!-- Put an 'x' in all the boxes that apply --> - [ ] I have added unit tests to cover my changes. - [ ] I have added integration tests to cover my changes. - [ ] I have added the description of my changes into [CHANGELOG](https://github.com/openvinotoolkit/datumaro/blob/develop/CHANGELOG.md). - [ ] I have updated the [documentation](https://github.com/openvinotoolkit/datumaro/tree/develop/docs) accordingly ### License - [ ] I submit _my code changes_ under the same [MIT License](https://github.com/openvinotoolkit/datumaro/blob/develop/LICENSE) that covers the project. Feel free to contact the maintainers if that's a concern. - [ ] I have updated the license header for each file (see an example below). ```python # Copyright (C) 2023 Intel Corporation # # SPDX-License-Identifier: MIT ``` --------- Signed-off-by: Kim, Vinnam <[email protected]>
Summary
How to test
Refer to #1224 for details on how we obtained the following results.
Duration for detecting Datumaro data format: 25784.5ms, format=datumaro
Duration for detecting Datumaro data format: 5966.8ms, format=datumaro
Checklist
License
Feel free to contact the maintainers if that's a concern.