We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ec8e7 commit aa31dcaCopy full SHA for aa31dca
src/otx/core/data/utils/utils.py
@@ -250,7 +250,7 @@ def adapt_tile_config(tile_config: TileConfig, dataset: Dataset) -> None:
250
tile_config (TileConfig): tiling parameters of the model
251
dataset (Dataset): Datumaro dataset including all subsets
252
"""
253
- if (train_dataset := dataset.subsets().get("train")) is not None:
+ if (train_dataset := dataset.subsets().get("train") or dataset.subsets().get("TRAINING")) is not None:
254
stat = compute_robust_dataset_statistics(train_dataset)
255
max_num_objects = round(stat["annotation"]["num_per_image"]["max"])
256
avg_size = stat["annotation"]["size_of_shape"]["avg"]
0 commit comments