Spaces:
Sleeping
Sleeping
Update model/multimodal_encoder/builder.py
Browse files
model/multimodal_encoder/builder.py
CHANGED
@@ -3,7 +3,7 @@ from .clip_encoder import CLIPVisionTower
|
|
3 |
|
4 |
|
5 |
def build_vision_tower(vision_tower_cfg, **kwargs):
|
6 |
-
vision_tower =
|
7 |
is_absolute_path_exists = os.path.exists(vision_tower)
|
8 |
if is_absolute_path_exists or vision_tower.startswith("openai") or vision_tower.startswith("laion") or vision_tower.startswith("google"):
|
9 |
return CLIPVisionTower(vision_tower, args=vision_tower_cfg, **kwargs)
|
|
|
3 |
|
4 |
|
5 |
def build_vision_tower(vision_tower_cfg, **kwargs):
|
6 |
+
vision_tower = 'google/siglip-so400m-patch14-384'
|
7 |
is_absolute_path_exists = os.path.exists(vision_tower)
|
8 |
if is_absolute_path_exists or vision_tower.startswith("openai") or vision_tower.startswith("laion") or vision_tower.startswith("google"):
|
9 |
return CLIPVisionTower(vision_tower, args=vision_tower_cfg, **kwargs)
|