Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -49,14 +49,12 @@ device_type = 'cuda' if use_cuda else 'cpu'
|
|
49 |
|
50 |
### Captioning
|
51 |
config = 'configs/video/ePALM_video_caption_msrvtt.yaml'
|
52 |
-
# config = yaml.load(open(config, 'r'), Loader=yaml.Loader)
|
53 |
config = yaml.load(open(config, 'r'))
|
54 |
|
55 |
text_model = 'facebook/opt-2.7b'
|
56 |
-
vision_model_name = '
|
|
|
57 |
|
58 |
-
# text_model = 'facebook/opt-6.7b'
|
59 |
-
# vision_model_name = 'vit_large_patch16_224'
|
60 |
|
61 |
start_layer_idx = 19
|
62 |
end_layer_idx = 31
|
|
|
49 |
|
50 |
### Captioning
|
51 |
config = 'configs/video/ePALM_video_caption_msrvtt.yaml'
|
|
|
52 |
config = yaml.load(open(config, 'r'))
|
53 |
|
54 |
text_model = 'facebook/opt-2.7b'
|
55 |
+
vision_model_name = 'timesformer'
|
56 |
+
|
57 |
|
|
|
|
|
58 |
|
59 |
start_layer_idx = 19
|
60 |
end_layer_idx = 31
|