Skip to content

Commit

Permalink
Change Hlabel Dataset: dummy -> dummy trump card (#3128)
Browse files Browse the repository at this point in the history
* Change the dataset to easy understand

* Fix precommit

* Fix hlabel integ test
  • Loading branch information
sungmanc authored Mar 15, 2024
1 parent 6e6be3b commit 16d0412
Show file tree
Hide file tree
Showing 83 changed files with 177 additions and 1,661 deletions.
633 changes: 53 additions & 580 deletions tests/assets/hlabel_classification/annotations/test.json

Large diffs are not rendered by default.

568 changes: 69 additions & 499 deletions tests/assets/hlabel_classification/annotations/train.json

Large diffs are not rendered by default.

633 changes: 53 additions & 580 deletions tests/assets/hlabel_classification/annotations/val.json

Large diffs are not rendered by default.

Binary file removed tests/assets/hlabel_classification/images/test/0.jpg
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed tests/assets/hlabel_classification/images/test/1.jpg
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed tests/assets/hlabel_classification/images/test/3.jpg
Binary file not shown.
Binary file removed tests/assets/hlabel_classification/images/test/4.jpg
Binary file not shown.
Binary file removed tests/assets/hlabel_classification/images/test/5.jpg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/0.jpg
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/1.jpg
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/12.jpg
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/13.jpg
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/14.jpg
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/19.jpg
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/2.jpg
Diff not rendered.
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/3.jpg
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/4.jpg
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/5.jpg
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/6.jpg
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/7.jpg
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/8.jpg
Diff not rendered.
Binary file removed tests/assets/hlabel_classification/images/val/9.jpg
Diff not rendered.
4 changes: 2 additions & 2 deletions tests/integration/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ def test_otx_explain_e2e(
"Slide6_class_0_saliency_map.png",
),
"h_label_cls_efficientnet_v2_light": (
np.array([43, 84, 61, 5, 54, 31, 57], dtype=np.uint8),
"5_class_0_saliency_map.png",
np.array([152, 193, 144, 132, 149, 204, 217], dtype=np.uint8),
"092_class_5_saliency_map.png",
),
# Detection
"detection_yolox_tiny": (
Expand Down

0 comments on commit 16d0412

Please sign in to comment.