def METHOD_NAME(self):
    tokenizer_slow = self.get_tokenizer()
    image_processor = self.get_image_processor()
    processor_slow = CLIPSegProcessor(tokenizer=tokenizer_slow, image_processor=image_processor)
    processor_slow.save_pretrained(self.tmpdirname)
    processor_slow = CLIPSegProcessor.from_pretrained(self.tmpdirname, use_fast=False)
    self.assertEqual(processor_slow.tokenizer.get_vocab(), tokenizer_slow.get_vocab())
    self.assertIsInstance(processor_slow.tokenizer, CLIPTokenizer)
    # self.assertIsInstance(processor_fast.tokenizer, CLIPTokenizerFast)
    self.assertEqual(processor_slow.image_processor.to_json_string(), image_processor.to_json_string())
    self.assertIsInstance(processor_slow.image_processor, ViTImageProcessor)