fixed bug
Browse files- ref_seg_ger.py +1 -1
ref_seg_ger.py
CHANGED
@@ -69,7 +69,7 @@ _FEATURES = datasets.Features(
|
|
69 |
#"image": datasets.Array3D(shape=(3, 224, 224), dtype="uint8"),
|
70 |
#"original_image": datasets.features.Image(),
|
71 |
"labels": datasets.Sequence(datasets.features.ClassLabel(
|
72 |
-
names=list(chain.from_iterable([['B-' + x, 'I-' + x] for x in _LABELS])) + 'O'
|
73 |
))
|
74 |
# These are the features of your dataset like images, labels ...
|
75 |
}
|
|
|
69 |
#"image": datasets.Array3D(shape=(3, 224, 224), dtype="uint8"),
|
70 |
#"original_image": datasets.features.Image(),
|
71 |
"labels": datasets.Sequence(datasets.features.ClassLabel(
|
72 |
+
names=list(chain.from_iterable([['B-' + x, 'I-' + x] for x in _LABELS])) + ['O']
|
73 |
))
|
74 |
# These are the features of your dataset like images, labels ...
|
75 |
}
|