fix: truncated strings
Browse files
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 |
-
|
99 |
-
|
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 |
}
|