MCPcopy Create free account
hub / github.com/Francis-Rings/FlashPortrait / __init__

Method __init__

wan/models/wan_image_encoder.py:505–511  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

503class CLIPModel(ModelMixin, ConfigMixin, FromOriginalModelMixin):
504
505 def __init__(self):
506 super(CLIPModel, self).__init__()
507 # init model
508 self.model, self.transforms = clip_xlm_roberta_vit_h_14(
509 pretrained=False,
510 return_transforms=True,
511 return_tokenizer=False)
512
513 def forward(self, videos):
514 # preprocess

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45

Tested by

no test coverage detected