Skip to content

bes-dev/pytorch_clip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytorch_clip: Pytorch API to work with CLIP models.

Downloads Downloads Downloads

Install package

pip install pytorch_clip

Install the latest version

pip install --upgrade git+https://github.com/bes-dev/pytorch_clip.git

Features

  • Supports original CLIP models by OpenAI and ruCLIP model by SberAI.

Usage

Simple code

import torch
from pytorch_clip import get_models_list, get_clip_model

print(get_models_list())

model, text_processor, image_processor = get_clip_model()

About

Pytorch API to work with CLIP models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages