Spaces:
Running
on
Zero
Running
on
Zero
SunderAli17
commited on
Commit
•
e51e427
1
Parent(s):
66f53f2
Create __init__.py
Browse files- eva_clip/__init__.py +10 -0
eva_clip/__init__.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from .constants import OPENAI_DATASET_MEAN, OPENAI_DATASET_STD
|
2 |
+
from .factory import create_model, create_model_and_transforms, create_model_from_pretrained, get_tokenizer, create_transforms
|
3 |
+
from .factory import list_models, add_model_config, get_model_config, load_checkpoint
|
4 |
+
from .model import CLIP, CustomCLIP, CLIPTextCfg, CLIPVisionCfg,\
|
5 |
+
convert_weights_to_lp, convert_weights_to_fp16, trace_model, get_cast_dtype
|
6 |
+
from .openai import load_openai_model, list_openai_models
|
7 |
+
from .pretrained import list_pretrained, list_pretrained_models_by_tag, list_pretrained_tags_by_model,\
|
8 |
+
get_pretrained_url, download_pretrained_from_url, is_pretrained_cfg, get_pretrained_cfg, download_pretrained
|
9 |
+
from .tokenizer import SimpleTokenizer, tokenize
|
10 |
+
from .transform import image_transform
|