Skip to content

Commit

Permalink
Fix arrow support for semantic segmentation task (#4172)
Browse files Browse the repository at this point in the history
Fix arrow support for sseg
  • Loading branch information
sovrasov authored Jan 7, 2025
1 parent 8296a43 commit 4d3df8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/otx/core/data/dataset/segmentation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 Intel Corporation
# Copyright (C) 2023-2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
"""Module for OTXSegmentationDataset."""
Expand Down Expand Up @@ -179,6 +179,7 @@ def __init__(
image_color_channel,
stack_images,
to_tv_image,
data_format=data_format,
)

if self.has_polygons:
Expand Down

0 comments on commit 4d3df8c

Please sign in to comment.