Skip to content

Commit

Permalink
updated viz and ingestion tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 committed Jan 14, 2025
1 parent 7307152 commit 2df74e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/test_data/test_task_ingestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def generator4():
path = make_image(i)
yield {
"file": str(path),
"task": "detection",
"annotation": {
"class": "bike",
"boundingbox": {"x": 0.9, "y": 0.8, "w": 0.1, "h": 0.4},
Expand Down
3 changes: 1 addition & 2 deletions tests/test_data/test_utils/test_visualizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ def test_visualize():
expected_semantic = np.stack([expected_semantic] * 3, axis=-1)
expected_images = {
"image": image.copy(),
"semantic": expected_semantic,
"labels": expected_labels,
"labels": expected_semantic + expected_labels,
}
class_names = {
"task": ["class_name"],
Expand Down

0 comments on commit 2df74e6

Please sign in to comment.