mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
expected values update
This commit is contained in:
parent
6ed165ea87
commit
ced40e4db6
@ -476,7 +476,7 @@ class EomtForUniversalSegmentationIntegrationTest(unittest.TestCase):
|
||||
pipe = pipeline(model=self.model_id, subtask="panoptic", device=torch_device)
|
||||
output = pipe(image)
|
||||
|
||||
EXPECTED_OUTPUT_LABELS = ["LABEL_15", "LABEL_15", "LABEL_57", "LABEL_65", "LABEL_65"]
|
||||
EXPECTED_OUTPUT_LABELS = ["cat", "cat", "couch", "remote", "remote"]
|
||||
|
||||
output_labels = [segment["label"] for segment in output]
|
||||
self.assertEqual(output_labels, EXPECTED_OUTPUT_LABELS)
|
||||
|
Loading…
Reference in New Issue
Block a user