Fix typos in strings and comments (#37799)
This commit is contained in:
@@ -438,7 +438,7 @@ class BridgeTowerModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestC
|
||||
if self.has_attentions:
|
||||
self.assertIsNotNone(attentions.grad)
|
||||
|
||||
# override as the `logit_scale` parameter initilization is different for BRIDGE TOWER
|
||||
# override as the `logit_scale` parameter initialization is different for BRIDGE TOWER
|
||||
def test_initialization(self):
|
||||
config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ class BridgeTowerProcessorTest(ProcessorTesterMixin, unittest.TestCase):
|
||||
def tearDownClass(cls):
|
||||
shutil.rmtree(cls.tmpdirname, ignore_errors=True)
|
||||
|
||||
# Some kwargs tests are overriden from common tests to handle shortest_edge
|
||||
# Some kwargs tests are overridden from common tests to handle shortest_edge
|
||||
# and size_divisor behaviour
|
||||
|
||||
@require_torch
|
||||
|
||||
Reference in New Issue
Block a user