towhee.models.clip4clip.clip4clipΒΆ

Functions

create_model

Create a CLIP4Clip model.

Classes

CLIP4Clip

CLIP4Clip model from the paper: https://arxiv.org/abs/2104.08860 Only meanP and 2d type reserved because of its performance.

CLIP4ClipPreTrainedModel

An abstract class to handle weights initialization and a simple interface for dowloading and loading pretrained models.