Skip to content

Upload data explorer model in public storage #813

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

Merged
merged 5 commits into from
Feb 20, 2023

Conversation

sooahleex
Copy link
Contributor

Summary

Update data explorer models (bin, xml files) that uploaded in the openvinotoolkit storage.
Enable unit tests for data explorer.

  • Related to 103458, 104094, 101229

How to test

Checklist

License

  • I submit my code changes under the same MIT 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)
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

@codecov-commenter
Copy link

codecov-commenter commented Feb 17, 2023

Codecov Report

Base: 77.73% // Head: 78.26% // Increases project coverage by +0.52% 🎉

Coverage data is based on head (6351c60) compared to base (6812481).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #813      +/-   ##
===========================================
+ Coverage    77.73%   78.26%   +0.52%     
===========================================
  Files          184      184              
  Lines        23570    23563       -7     
  Branches      5082     4880     -202     
===========================================
+ Hits         18323    18442     +119     
+ Misses        4168     4028     -140     
- Partials      1079     1093      +14     
Flag Coverage Δ
macos-11_Python-3.10 ?
macos-11_Python-3.7 ?
macos-11_Python-3.8 77.59% <0.00%> (-0.01%) ⬇️
macos-11_Python-3.9 ?
ubuntu-20.04_Python-3.10 ?
ubuntu-20.04_Python-3.7 ?
ubuntu-20.04_Python-3.8 78.24% <100.00%> (+0.64%) ⬆️
ubuntu-20.04_Python-3.9 ?
windows-2019_Python-3.10 ?
windows-2019_Python-3.7 ?
windows-2019_Python-3.8 78.18% <100.00%> (+0.64%) ⬆️
windows-2019_Python-3.9 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
datumaro/plugins/searcher.py 91.66% <100.00%> (+71.48%) ⬆️
datumaro/util/os_util.py 63.35% <0.00%> (-8.62%) ⬇️
datumaro/plugins/data_formats/kitti_raw/base.py 84.44% <0.00%> (-1.67%) ⬇️
datumaro/plugins/ndr.py 75.00% <0.00%> (-1.09%) ⬇️
datumaro/plugins/data_formats/coco/base.py 91.30% <0.00%> (-0.67%) ⬇️
datumaro/plugins/data_formats/yolo/base.py 89.82% <0.00%> (-0.60%) ⬇️
datumaro/util/test_utils.py 84.12% <0.00%> (-0.53%) ⬇️
datumaro/plugins/data_formats/icdar/base.py 87.15% <0.00%> (-0.46%) ⬇️
datumaro/plugins/data_formats/coco/exporter.py 85.74% <0.00%> (-0.43%) ⬇️
datumaro/plugins/data_formats/voc/exporter.py 82.60% <0.00%> (-0.39%) ⬇️
... and 21 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

vinnamkim
vinnamkim previously approved these changes Feb 17, 2023
Copy link
Contributor

@vinnamkim vinnamkim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@vinnamkim vinnamkim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@sooahleex sooahleex added this pull request to the merge queue Feb 20, 2023
Merged via the queue into open-edge-platform:develop with commit c6c55e5 Feb 20, 2023
@vinnamkim vinnamkim added this to the 1.0.0 milestone Feb 20, 2023
vinnamkim added a commit that referenced this pull request Feb 21, 2023
* Add daily/weekly test triggers (#811)

* Add daily/weekly checks in schedule

* Update for testing

* Fix version

* Fix version

* Fix version

* Update ttest configuration

* Rename daily to nightly

* Apply some feedbacks

* Apply some feedbacks

* Correct wrong file path.

* Raise ImportError on importing malformed COCO directory (#812)

* Raise ImportError on importing malformed COCO directory

 - Previously, COCOImporter implicitly set its rootpath and images_dir
unless the directory structure is not well formed. This makes users cannot know what's happening although their dataset structure is
malformed. As a result, after importing, users try to load its images but
fail and don't know why.

Signed-off-by: Kim, Vinnam <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix isort

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix unittest

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix testcase

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix testcase

Signed-off-by: Kim, Vinnam <[email protected]>

* Image should have 2 or 3 dims

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix testcase

Signed-off-by: Kim, Vinnam <[email protected]>

---------

Signed-off-by: Kim, Vinnam <[email protected]>

* Upload data explorer model in public storage (#813)

* Upload model in public storage

* Update model_dir

* Make dir

* Skip test if macos

* Skip unit tests if macos

---------

Signed-off-by: Kim, Vinnam <[email protected]>
Co-authored-by: Emily Chun <[email protected]>
Co-authored-by: Sooah Lee <[email protected]>
vinnamkim added a commit that referenced this pull request Feb 22, 2023
* Update version to release v1.0 early version to PyPI

* Dev to 1.0.0 pre-release (#817)

* Add daily/weekly test triggers (#811)

* Add daily/weekly checks in schedule

* Update for testing

* Fix version

* Fix version

* Fix version

* Update ttest configuration

* Rename daily to nightly

* Apply some feedbacks

* Apply some feedbacks

* Correct wrong file path.

* Raise ImportError on importing malformed COCO directory (#812)

* Raise ImportError on importing malformed COCO directory

 - Previously, COCOImporter implicitly set its rootpath and images_dir
unless the directory structure is not well formed. This makes users cannot know what's happening although their dataset structure is
malformed. As a result, after importing, users try to load its images but
fail and don't know why.

Signed-off-by: Kim, Vinnam <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix isort

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix unittest

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix testcase

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix testcase

Signed-off-by: Kim, Vinnam <[email protected]>

* Image should have 2 or 3 dims

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix testcase

Signed-off-by: Kim, Vinnam <[email protected]>

---------

Signed-off-by: Kim, Vinnam <[email protected]>

* Upload data explorer model in public storage (#813)

* Upload model in public storage

* Update model_dir

* Make dir

* Skip test if macos

* Skip unit tests if macos

---------

Signed-off-by: Kim, Vinnam <[email protected]>
Co-authored-by: Emily Chun <[email protected]>
Co-authored-by: Sooah Lee <[email protected]>

---------

Signed-off-by: Kim, Vinnam <[email protected]>
Co-authored-by: chuneuny <[email protected]>
Co-authored-by: Sooah Lee <[email protected]>
@sooahleex sooahleex mentioned this pull request Feb 24, 2023
7 tasks
wonjuleee pushed a commit that referenced this pull request Mar 10, 2023
* Update version to release v1.0 early version to PyPI

* Dev to 1.0.0 pre-release (#817)

* Add daily/weekly test triggers (#811)

* Add daily/weekly checks in schedule

* Update for testing

* Fix version

* Fix version

* Fix version

* Update ttest configuration

* Rename daily to nightly

* Apply some feedbacks

* Apply some feedbacks

* Correct wrong file path.

* Raise ImportError on importing malformed COCO directory (#812)

* Raise ImportError on importing malformed COCO directory

 - Previously, COCOImporter implicitly set its rootpath and images_dir
unless the directory structure is not well formed. This makes users cannot know what's happening although their dataset structure is
malformed. As a result, after importing, users try to load its images but
fail and don't know why.

Signed-off-by: Kim, Vinnam <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix isort

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix unittest

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix testcase

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix testcase

Signed-off-by: Kim, Vinnam <[email protected]>

* Image should have 2 or 3 dims

Signed-off-by: Kim, Vinnam <[email protected]>

* Fix testcase

Signed-off-by: Kim, Vinnam <[email protected]>

---------

Signed-off-by: Kim, Vinnam <[email protected]>

* Upload data explorer model in public storage (#813)

* Upload model in public storage

* Update model_dir

* Make dir

* Skip test if macos

* Skip unit tests if macos

---------

Signed-off-by: Kim, Vinnam <[email protected]>
Co-authored-by: Emily Chun <[email protected]>
Co-authored-by: Sooah Lee <[email protected]>

* [Release] Fix/update 3rd party txt (#820)

* Update 3rd-party.txt

Signed-off-by: Kim, Vinnam <[email protected]>

* Convert tab to spaces

Signed-off-by: Kim, Vinnam <[email protected]>

---------

Signed-off-by: Kim, Vinnam <[email protected]>

* Remove the duplicated contexts

* Enable doc build on release branch

* Update changelog

* Apply code review feedbacks

* Remove a blank line

* Update version.py

* Update CHANGELOG.md

* Update CHANGELOG.md

* Add some description (#832)

---------

Signed-off-by: Kim, Vinnam <[email protected]>
Co-authored-by: chuneuny <[email protected]>
Co-authored-by: Sooah Lee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants