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

Remove python 3.8 supporting #1269

Merged
merged 2 commits into from
Feb 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
increase bbox margin in RISE (#1270)
<!-- Contributing guide:
https://github.com/openvinotoolkit/datumaro/blob/develop/CONTRIBUTING.md
-->

### Summary

<!--
Resolves #111 and #222.
Depends on #1000 (for series of dependent commits).

This PR introduces this capability to make the project better in this
and that.

- Added this feature
- Removed that feature
- Fixed the problem #1234
-->

### How to test
<!-- Describe the testing procedure for reviewers, if changes are
not fully covered by unit tests or manual testing can be complicated.
-->

### 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
```
wonjuleee authored Feb 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit f38c9edb9941fb27eec69e281ebc7ad5786f9b4d
2 changes: 1 addition & 1 deletion tests/unit/algorithms/test_RISE.py
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ def test_rise_can_be_applied_to_classification_model(self):
self.assertEqual(saliency.shape[2], image_size[2])

class_indices = [244, 282] # bullmastiff and tabby of imagenet.class
rois = [[100, 20, 180, 100], [180, 160, 240, 260]] # location of bullmastiff and tabby
rois = [[90, 10, 190, 110], [170, 150, 250, 270]] # location of bullmastiff and tabby

for cls_idx in range(len(class_indices)):
norm_saliency = saliency[class_indices[cls_idx]]