fixed bug
Browse files- ref_seg_ger.py +1 -0
ref_seg_ger.py
CHANGED
|
@@ -219,6 +219,7 @@ class RefSeg(datasets.GeneratorBasedBuilder):
|
|
| 219 |
return_offsets_mapping=False,
|
| 220 |
return_attention_mask=False,
|
| 221 |
)
|
|
|
|
| 222 |
if len(tokenized_input['input_ids']) > 1:
|
| 223 |
if row['tag'] == 'B':
|
| 224 |
input_ids.append(tokenized_input['input_ids'][0])
|
|
|
|
| 219 |
return_offsets_mapping=False,
|
| 220 |
return_attention_mask=False,
|
| 221 |
)
|
| 222 |
+
print(tokenized_input)
|
| 223 |
if len(tokenized_input['input_ids']) > 1:
|
| 224 |
if row['tag'] == 'B':
|
| 225 |
input_ids.append(tokenized_input['input_ids'][0])
|