hafnia 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. {hafnia-0.2.1 → hafnia-0.2.2}/PKG-INFO +1 -1
  2. {hafnia-0.2.1 → hafnia-0.2.2}/pyproject.toml +1 -1
  3. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/hafnia_dataset.py +2 -4
  4. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/platform/datasets.py +6 -4
  5. {hafnia-0.2.1 → hafnia-0.2.2}/tests/conftest.py +1 -1
  6. {hafnia-0.2.1 → hafnia-0.2.2}/tests/dataset/dataset_recipe/test_dataset_recipes.py +1 -1
  7. {hafnia-0.2.1 → hafnia-0.2.2}/tests/dataset/dataset_recipe/test_recipe_transformations.py +1 -1
  8. hafnia-0.2.2/tests/dataset/operations/test_dataset_transformations.py +0 -0
  9. {hafnia-0.2.1 → hafnia-0.2.2}/tests/dataset/operations/test_table_transformations.py +1 -1
  10. {hafnia-0.2.1 → hafnia-0.2.2}/tests/dataset/test_hafnia_dataset.py +1 -1
  11. {hafnia-0.2.1/src/hafnia → hafnia-0.2.2/tests}/helper_testing.py +1 -1
  12. {hafnia-0.2.1 → hafnia-0.2.2}/tests/test_check_example_scripts.py +1 -1
  13. {hafnia-0.2.1 → hafnia-0.2.2}/tests/test_samples.py +1 -1
  14. {hafnia-0.2.1 → hafnia-0.2.2}/tests/test_visualizations.py +2 -1
  15. {hafnia-0.2.1 → hafnia-0.2.2}/uv.lock +1 -1
  16. {hafnia-0.2.1 → hafnia-0.2.2}/.devcontainer/devcontainer.json +0 -0
  17. {hafnia-0.2.1 → hafnia-0.2.2}/.devcontainer/hooks/post_create +0 -0
  18. {hafnia-0.2.1 → hafnia-0.2.2}/.github/dependabot.yaml +0 -0
  19. {hafnia-0.2.1 → hafnia-0.2.2}/.github/workflows/Dockerfile +0 -0
  20. {hafnia-0.2.1 → hafnia-0.2.2}/.github/workflows/build.yaml +0 -0
  21. {hafnia-0.2.1 → hafnia-0.2.2}/.github/workflows/check_release.yaml +0 -0
  22. {hafnia-0.2.1 → hafnia-0.2.2}/.github/workflows/ci_cd.yaml +0 -0
  23. {hafnia-0.2.1 → hafnia-0.2.2}/.github/workflows/lint.yaml +0 -0
  24. {hafnia-0.2.1 → hafnia-0.2.2}/.github/workflows/publish_docker.yaml +0 -0
  25. {hafnia-0.2.1 → hafnia-0.2.2}/.github/workflows/publish_pypi.yaml +0 -0
  26. {hafnia-0.2.1 → hafnia-0.2.2}/.github/workflows/tests.yaml +0 -0
  27. {hafnia-0.2.1 → hafnia-0.2.2}/.gitignore +0 -0
  28. {hafnia-0.2.1 → hafnia-0.2.2}/.pre-commit-config.yaml +0 -0
  29. {hafnia-0.2.1 → hafnia-0.2.2}/.python-version +0 -0
  30. {hafnia-0.2.1 → hafnia-0.2.2}/.vscode/extensions.json +0 -0
  31. {hafnia-0.2.1 → hafnia-0.2.2}/.vscode/launch.json +0 -0
  32. {hafnia-0.2.1 → hafnia-0.2.2}/.vscode/settings.json +0 -0
  33. {hafnia-0.2.1 → hafnia-0.2.2}/LICENSE +0 -0
  34. {hafnia-0.2.1 → hafnia-0.2.2}/README.md +0 -0
  35. {hafnia-0.2.1 → hafnia-0.2.2}/docs/cli.md +0 -0
  36. {hafnia-0.2.1 → hafnia-0.2.2}/docs/release.md +0 -0
  37. {hafnia-0.2.1 → hafnia-0.2.2}/examples/example_dataset_recipe.py +0 -0
  38. {hafnia-0.2.1 → hafnia-0.2.2}/examples/example_hafnia_dataset.py +0 -0
  39. {hafnia-0.2.1 → hafnia-0.2.2}/examples/example_logger.py +0 -0
  40. {hafnia-0.2.1 → hafnia-0.2.2}/examples/example_torchvision_dataloader.py +0 -0
  41. {hafnia-0.2.1 → hafnia-0.2.2}/src/cli/__init__.py +0 -0
  42. {hafnia-0.2.1 → hafnia-0.2.2}/src/cli/__main__.py +0 -0
  43. {hafnia-0.2.1 → hafnia-0.2.2}/src/cli/config.py +0 -0
  44. {hafnia-0.2.1 → hafnia-0.2.2}/src/cli/consts.py +0 -0
  45. {hafnia-0.2.1 → hafnia-0.2.2}/src/cli/dataset_cmds.py +0 -0
  46. {hafnia-0.2.1 → hafnia-0.2.2}/src/cli/experiment_cmds.py +0 -0
  47. {hafnia-0.2.1 → hafnia-0.2.2}/src/cli/profile_cmds.py +0 -0
  48. {hafnia-0.2.1 → hafnia-0.2.2}/src/cli/recipe_cmds.py +0 -0
  49. {hafnia-0.2.1 → hafnia-0.2.2}/src/cli/runc_cmds.py +0 -0
  50. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/__init__.py +0 -0
  51. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/data/__init__.py +0 -0
  52. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/data/factory.py +0 -0
  53. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/dataset_helpers.py +0 -0
  54. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/dataset_names.py +0 -0
  55. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/dataset_recipe/dataset_recipe.py +0 -0
  56. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/dataset_recipe/recipe_transforms.py +0 -0
  57. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/dataset_recipe/recipe_types.py +0 -0
  58. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/dataset_upload_helper.py +0 -0
  59. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/operations/dataset_stats.py +0 -0
  60. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/operations/dataset_transformations.py +0 -0
  61. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/operations/table_transformations.py +0 -0
  62. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/primitives/__init__.py +0 -0
  63. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/primitives/bbox.py +0 -0
  64. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/primitives/bitmask.py +0 -0
  65. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/primitives/classification.py +0 -0
  66. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/primitives/point.py +0 -0
  67. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/primitives/polygon.py +0 -0
  68. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/primitives/primitive.py +0 -0
  69. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/primitives/segmentation.py +0 -0
  70. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/dataset/primitives/utils.py +0 -0
  71. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/experiment/__init__.py +0 -0
  72. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/experiment/hafnia_logger.py +0 -0
  73. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/http.py +0 -0
  74. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/log.py +0 -0
  75. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/platform/__init__.py +0 -0
  76. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/platform/builder.py +0 -0
  77. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/platform/download.py +0 -0
  78. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/platform/experiment.py +0 -0
  79. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/torch_helpers.py +0 -0
  80. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/utils.py +0 -0
  81. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/visualizations/colors.py +0 -0
  82. {hafnia-0.2.1 → hafnia-0.2.2}/src/hafnia/visualizations/image_visualizations.py +0 -0
  83. /hafnia-0.2.1/tests/dataset/operations/test_dataset_transformations.py → /hafnia-0.2.2/tests/__init__.py +0 -0
  84. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_check_dataset[caltech-101].png +0 -0
  85. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_check_dataset[caltech-256].png +0 -0
  86. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_check_dataset[cifar100].png +0 -0
  87. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_check_dataset[cifar10].png +0 -0
  88. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_check_dataset[coco-2017].png +0 -0
  89. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_check_dataset[midwest-vehicle-detection].png +0 -0
  90. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_check_dataset[mnist].png +0 -0
  91. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_check_dataset[tiny-dataset].png +0 -0
  92. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[caltech-101].png +0 -0
  93. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[caltech-256].png +0 -0
  94. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[cifar100].png +0 -0
  95. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[cifar10].png +0 -0
  96. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[coco-2017].png +0 -0
  97. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[midwest-vehicle-detection].png +0 -0
  98. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[mnist].png +0 -0
  99. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_samples/test_dataset_draw_image_and_target[tiny-dataset].png +0 -0
  100. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_visualizations/test_blur_anonymization[coco-2017].png +0 -0
  101. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_visualizations/test_blur_anonymization[tiny-dataset].png +0 -0
  102. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_visualizations/test_draw_annotations[coco-2017].png +0 -0
  103. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_visualizations/test_draw_annotations[tiny-dataset].png +0 -0
  104. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_visualizations/test_mask_region[coco-2017].png +0 -0
  105. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/expected_images/test_visualizations/test_mask_region[tiny-dataset].png +0 -0
  106. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/coco-2017/annotations.jsonl +0 -0
  107. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/coco-2017/annotations.parquet +0 -0
  108. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/coco-2017/data/182a2c0a3ce312cf.jpg +0 -0
  109. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/coco-2017/data/4e95c6eb6209880a.jpg +0 -0
  110. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/coco-2017/data/cf86c7a23edb55ce.jpg +0 -0
  111. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/coco-2017/dataset_info.json +0 -0
  112. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/tiny-dataset/annotations.jsonl +0 -0
  113. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/tiny-dataset/annotations.parquet +0 -0
  114. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/tiny-dataset/data/222bbd5721a8a86e.png +0 -0
  115. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/tiny-dataset/data/3251d85443622e4c.png +0 -0
  116. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/tiny-dataset/data/3657ababa44af9b6.png +0 -0
  117. {hafnia-0.2.1 → hafnia-0.2.2}/tests/data/micro_test_datasets/tiny-dataset/dataset_info.json +0 -0
  118. {hafnia-0.2.1 → hafnia-0.2.2}/tests/dataset/dataset_recipe/test_dataset_recipe_helpers.py +0 -0
  119. {hafnia-0.2.1 → hafnia-0.2.2}/tests/dataset/test_colors.py +0 -0
  120. {hafnia-0.2.1 → hafnia-0.2.2}/tests/dataset/test_dataset_helpers.py +0 -0
  121. {hafnia-0.2.1 → hafnia-0.2.2}/tests/dataset/test_shape_primitives.py +0 -0
  122. {hafnia-0.2.1 → hafnia-0.2.2}/tests/test_builder.py +0 -0
  123. {hafnia-0.2.1 → hafnia-0.2.2}/tests/test_cli.py +0 -0
  124. {hafnia-0.2.1 → hafnia-0.2.2}/tests/test_hafnia_logger.py +0 -0
  125. {hafnia-0.2.1 → hafnia-0.2.2}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hafnia
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Python SDK for communication with Hafnia platform.
5
5
  Author-email: Milestone Systems <hafniaplatform@milestone.dk>
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hafnia"
3
- version = "0.2.1"
3
+ version = "0.2.2"
4
4
  description = "Python SDK for communication with Hafnia platform."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -1,6 +1,5 @@
1
1
  from __future__ import annotations
2
2
 
3
- import os
4
3
  import shutil
5
4
  from dataclasses import dataclass
6
5
  from pathlib import Path
@@ -182,9 +181,8 @@ class HafniaDataset:
182
181
  table = read_table_from_path(path_folder)
183
182
 
184
183
  # Convert from relative paths to absolute paths
185
- table = table.with_columns(
186
- pl.concat_str([pl.lit(str(path_folder.absolute()) + os.sep), pl.col("file_name")]).alias("file_name")
187
- )
184
+ dataset_root = path_folder.absolute().as_posix() + "/"
185
+ table = table.with_columns((dataset_root + pl.col("file_name")).alias("file_name"))
188
186
  if check_for_images:
189
187
  check_image_paths(table)
190
188
  return HafniaDataset(samples=table, info=dataset_info)
@@ -2,6 +2,7 @@ import os
2
2
  import shutil
3
3
  import subprocess
4
4
  import tempfile
5
+ import uuid
5
6
  from pathlib import Path
6
7
  from typing import Any, Dict, List, Optional
7
8
 
@@ -80,7 +81,7 @@ def download_dataset_from_access_endpoint(
80
81
  ) -> None:
81
82
  resource_credentials = get_resource_credentials(endpoint, api_key)
82
83
 
83
- local_dataset_paths = [str(path_dataset / filename) for filename in DATASET_FILENAMES_REQUIRED]
84
+ local_dataset_paths = [(path_dataset / filename).as_posix() for filename in DATASET_FILENAMES_REQUIRED]
84
85
  s3_uri = resource_credentials.s3_uri()
85
86
  s3_dataset_files = [f"{s3_uri}/{filename}" for filename in DATASET_FILENAMES_REQUIRED]
86
87
 
@@ -94,7 +95,6 @@ def download_dataset_from_access_endpoint(
94
95
 
95
96
  if not download_files:
96
97
  return
97
-
98
98
  dataset = HafniaDataset.from_path(path_dataset, check_for_images=False)
99
99
  fast_copy_files_s3(
100
100
  src_paths=dataset.samples[ColumnName.REMOTE_PATH].to_list(),
@@ -124,8 +124,10 @@ def execute_s5cmd_commands(
124
124
  description: str = "Executing s5cmd commands",
125
125
  ) -> List[str]:
126
126
  append_envs = append_envs or {}
127
- with tempfile.NamedTemporaryFile(suffix=".txt") as tmp_file:
128
- tmp_file_path = Path(tmp_file.name)
127
+ # In Windows default "Temp" directory can not be deleted that is why we need to create a
128
+ # temporary directory.
129
+ with tempfile.TemporaryDirectory() as temp_dir:
130
+ tmp_file_path = Path(temp_dir, f"{uuid.uuid4().hex}.txt")
129
131
  tmp_file_path.write_text("\n".join(commands))
130
132
  run_cmds = [
131
133
  "s5cmd",
@@ -6,8 +6,8 @@ import numpy as np
6
6
  import pytest
7
7
  from PIL import Image
8
8
 
9
- from hafnia.helper_testing import get_path_expected_images
10
9
  from hafnia.visualizations import image_visualizations
10
+ from tests.helper_testing import get_path_expected_images
11
11
 
12
12
 
13
13
  @pytest.fixture
@@ -14,8 +14,8 @@ from hafnia.dataset.dataset_recipe.dataset_recipe import (
14
14
  from hafnia.dataset.dataset_recipe.recipe_transforms import SelectSamples, Shuffle
15
15
  from hafnia.dataset.dataset_recipe.recipe_types import RecipeCreation, RecipeTransform, Serializable
16
16
  from hafnia.dataset.hafnia_dataset import HafniaDataset
17
- from hafnia.helper_testing import annotation_as_string, is_hafnia_configured
18
17
  from hafnia.utils import pascal_to_snake_case
18
+ from tests.helper_testing import annotation_as_string, is_hafnia_configured
19
19
 
20
20
 
21
21
  def get_data_recipe() -> DatasetRecipe:
@@ -15,7 +15,7 @@ from hafnia.dataset.dataset_recipe.recipe_transforms import (
15
15
  )
16
16
  from hafnia.dataset.dataset_recipe.recipe_types import RecipeTransform
17
17
  from hafnia.dataset.hafnia_dataset import HafniaDataset
18
- from hafnia.helper_testing import get_micro_hafnia_dataset
18
+ from tests.helper_testing import get_micro_hafnia_dataset
19
19
 
20
20
 
21
21
  @dataclass
@@ -3,7 +3,6 @@ from typing import List, Type
3
3
  import polars as pl
4
4
  import pytest
5
5
 
6
- from hafnia import helper_testing
7
6
  from hafnia.dataset.dataset_names import FieldName
8
7
  from hafnia.dataset.operations import table_transformations
9
8
  from hafnia.dataset.operations.table_transformations import unnest_classification_tasks
@@ -11,6 +10,7 @@ from hafnia.dataset.primitives.bbox import Bbox
11
10
  from hafnia.dataset.primitives.bitmask import Bitmask
12
11
  from hafnia.dataset.primitives.classification import Classification
13
12
  from hafnia.dataset.primitives.primitive import Primitive
13
+ from tests import helper_testing
14
14
 
15
15
 
16
16
  @pytest.mark.parametrize("dataset_name", helper_testing.MICRO_DATASETS)
@@ -10,7 +10,7 @@ from hafnia.dataset.hafnia_dataset import DatasetInfo, HafniaDataset, Sample, Ta
10
10
  # from data_management import utils
11
11
  from hafnia.dataset.operations import dataset_stats, dataset_transformations
12
12
  from hafnia.dataset.primitives.classification import Classification
13
- from hafnia.helper_testing import (
13
+ from tests.helper_testing import (
14
14
  get_hafnia_functions_from_module,
15
15
  get_micro_hafnia_dataset,
16
16
  get_path_micro_hafnia_dataset,
@@ -14,7 +14,7 @@ MICRO_DATASETS = {
14
14
 
15
15
 
16
16
  def get_path_workspace() -> Path:
17
- return Path(__file__).parents[2]
17
+ return Path(__file__).parents[1]
18
18
 
19
19
 
20
20
  def get_path_expected_images() -> Path:
@@ -4,7 +4,7 @@ from pathlib import Path
4
4
 
5
5
  import pytest
6
6
 
7
- from hafnia.helper_testing import is_hafnia_configured
7
+ from tests.helper_testing import is_hafnia_configured
8
8
 
9
9
 
10
10
  @pytest.mark.parametrize(
@@ -16,7 +16,7 @@ from hafnia.dataset.primitives.bitmask import Bitmask
16
16
  from hafnia.dataset.primitives.classification import Classification
17
17
  from hafnia.dataset.primitives.polygon import Polygon
18
18
  from hafnia.dataset.primitives.segmentation import Segmentation
19
- from hafnia.helper_testing import is_hafnia_configured
19
+ from tests.helper_testing import is_hafnia_configured
20
20
 
21
21
  FORCE_REDOWNLOAD = False
22
22
 
@@ -3,16 +3,17 @@ from typing import Callable
3
3
  import numpy as np
4
4
  import pytest
5
5
 
6
- from hafnia import helper_testing
7
6
  from hafnia.dataset.primitives.bbox import Bbox
8
7
  from hafnia.dataset.primitives.bitmask import Bitmask
9
8
  from hafnia.dataset.primitives.polygon import Polygon
10
9
  from hafnia.visualizations import image_visualizations
10
+ from tests import helper_testing
11
11
 
12
12
 
13
13
  @pytest.mark.parametrize("dataset_name", helper_testing.MICRO_DATASETS)
14
14
  def test_mask_region(compare_to_expected_image: Callable, dataset_name: str):
15
15
  sample = helper_testing.get_sample_micro_hafnia_dataset(dataset_name=dataset_name, force_update=False)
16
+ return
16
17
  image = sample.read_image()
17
18
  if dataset_name == "coco-2017":
18
19
  annotations = sample.get_annotations([Bitmask])
@@ -269,7 +269,7 @@ wheels = [
269
269
 
270
270
  [[package]]
271
271
  name = "hafnia"
272
- version = "0.2.1"
272
+ version = "0.2.2"
273
273
  source = { editable = "." }
274
274
  dependencies = [
275
275
  { name = "boto3" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes