video-text-embedding
copied
l
Signed-off-by: xujinling <jinling.xu@zilliz.com>
@ -52,7 +52,7 @@ class BridgeFormer(NNOperator):
weights_path=weights_path,
model_name=self.model_name)
self.transform_cfgs = configs(self.model_name)
self.tokenizer = AutoTokenizer.from_pretrained('distilbert-base-uncased', TOKENIZERS_PARALLELISM=False)
self.model.eval()
def decoder_video(self, data: List[VideoFrame]):