Fix typos in strings and comments (#37799)
This commit is contained in:
@@ -769,7 +769,7 @@ class GroundingDinoModelIntegrationTests(unittest.TestCase):
|
||||
encoding1 = processor(images=image, text=text1, return_tensors="pt").to(torch_device)
|
||||
encoding2 = processor(images=image, text=text2, return_tensors="pt").to(torch_device)
|
||||
# If we batch the text and cross attention masking is working the batched result should be equal to
|
||||
# The singe text result
|
||||
# The single text result
|
||||
encoding_batched = processor(
|
||||
images=[image] * len(text_batched), text=text_batched, padding="longest", return_tensors="pt"
|
||||
).to(torch_device)
|
||||
|
||||
Reference in New Issue
Block a user