Spaces:
Running
on
Zero
Running
on
Zero
Update llava/model/multimodal_encoder/builder.py
Browse files
llava/model/multimodal_encoder/builder.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import os
|
2 |
-
from .clip_encoder import CLIPVisionTower
|
3 |
-
|
4 |
|
5 |
def build_vision_tower(vision_tower_cfg, **kwargs):
|
6 |
vision_tower = getattr(vision_tower_cfg, 'mm_vision_tower', getattr(vision_tower_cfg, 'vision_tower', None))
|
|
|
1 |
import os
|
2 |
+
from .clip_encoder import CLIPVisionTower
|
3 |
+
from .florence_encoder import FlorenceVisionTower
|
4 |
|
5 |
def build_vision_tower(vision_tower_cfg, **kwargs):
|
6 |
vision_tower = getattr(vision_tower_cfg, 'mm_vision_tower', getattr(vision_tower_cfg, 'vision_tower', None))
|