Skip to content

Commit

Permalink
Fix bug in export_yolo (#2936)
Browse files Browse the repository at this point in the history
Fix bug in export_yolo
  • Loading branch information
istranical authored Aug 28, 2024
1 parent b07e770 commit eebe84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deeplake/auto/unstructured/yolo/yolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(
self.label_tensor = label_tensor if label_tensor else label_tensor_auto
self.image_tensor = image_tensor if image_tensor else image_tensor_auto

image_compression = src_ds[image_tensor].meta.sample_compression
image_compression = src_ds[self.image_tensor].meta.sample_compression

self.export_image_compression = (
image_compression if image_compression else "png"
Expand Down

0 comments on commit eebe84c

Please sign in to comment.