vkashko commited on
Commit
d93512f
·
1 Parent(s): 140b702

fix: truncated strings

Browse files
Files changed (1) hide show
  1. plantations_segmentation.py +3 -3
plantations_segmentation.py CHANGED
@@ -94,7 +94,7 @@ class PlantationsSegmentation(datasets.GeneratorBasedBuilder):
94
  "bytes": object_segmentation.read()
95
  },
96
  'shapes':
97
- annotations_df.loc[
98
- annotations_df['image_name'] == image_path]
99
- ['shapes'].values[0]
100
  }
 
94
  "bytes": object_segmentation.read()
95
  },
96
  'shapes':
97
+ annotations_df.loc[annotations_df['image_name'] ==
98
+ image_path]['shapes'].values[0][:500] +
99
+ '...'
100
  }