Make image processors more general (#27690)
* Make image processors more general * Add backwards compatibility for KOSMOS-2 * Remove use_square_size everywhere * Remove script
This commit is contained in:
@@ -55,7 +55,7 @@ class Kosmos2ProcessorTest(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.tmpdirname = tempfile.mkdtemp()
|
||||
|
||||
image_processor = CLIPImageProcessor(use_square_size=True)
|
||||
image_processor = CLIPImageProcessor()
|
||||
|
||||
# We have a SentencePiece fixture for testing
|
||||
slow_tokenizer = XLMRobertaTokenizer(SAMPLE_VOCAB)
|
||||
|
||||
Reference in New Issue
Block a user