Skip to content
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 bugs for Tile transform #1123

Conversation

vinnamkim
Copy link
Contributor

@vinnamkim vinnamkim commented Aug 11, 2023

Summary

How to test

I updated the existing test to test saving RoIImage as well.

Checklist

  • 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.​
  • I have updated the documentation accordingly

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) 2023 Intel Corporation
#
# SPDX-License-Identifier: MIT

 - Fix documentation error on CLI guide for Tile transform
 - Fix a problem that RoIImageFromFile cannot be saved properly

Signed-off-by: Kim, Vinnam <vinnam.kim@intel.com>
@vinnamkim vinnamkim added the BUG Something isn't working label Aug 11, 2023
@vinnamkim vinnamkim added this to the 1.5.0 milestone Aug 11, 2023
@vinnamkim vinnamkim marked this pull request as ready for review August 11, 2023 10:51
@vinnamkim vinnamkim requested review from a team as code owners August 11, 2023 10:51
@vinnamkim vinnamkim requested review from sooahleex and removed request for a team August 11, 2023 10:51
Signed-off-by: Kim, Vinnam <vinnam.kim@intel.com>
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 70.00% and project coverage change: +0.02% 🎉

Comparison is base (db055a8) 79.97% compared to head (035f050) 79.99%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1123      +/-   ##
===========================================
+ Coverage    79.97%   79.99%   +0.02%     
===========================================
  Files          258      258              
  Lines        29147    29148       +1     
  Branches      5710     5710              
===========================================
+ Hits         23309    23317       +8     
+ Misses        4507     4499       -8     
- Partials      1331     1332       +1     
Flag Coverage Δ
macos-11_Python-3.8 79.07% <70.00%> (?)
ubuntu-20.04_Python-3.8 79.97% <70.00%> (+0.01%) ⬆️
windows-2019_Python-3.8 79.90% <70.00%> (+0.01%) ⬆️

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

Files Changed Coverage Δ
src/datumaro/plugins/tiling/tile.py 94.06% <ø> (ø)
src/datumaro/components/media.py 79.11% <70.00%> (+0.67%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@wonjuleee wonjuleee left a comment

Choose a reason for hiding this comment

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

LGTM

@wonjuleee wonjuleee merged commit 0d5311e into openvinotoolkit:develop Aug 16, 2023
5 checks passed
vinnamkim added a commit to vinnamkim/datumaro that referenced this pull request Aug 21, 2023
- Resolve this issue,
openvinotoolkit#1118
 - Fix documentation error on CLI guide for Tile transform
 - Fix a problem that RoIImageFromFile cannot be saved properly

I updated the existing test to test saving `RoIImage` as well.

<!-- Put an 'x' in all the boxes that apply -->
- [x] 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).​
- [x] 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 <vinnam.kim@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants