Spaces:
Runtime error
Runtime error
Upload nocaps.yaml
Browse files- BLIP/configs/nocaps.yaml +15 -0
BLIP/configs/nocaps.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
image_root: '/export/share/datasets/vision/nocaps/'
|
| 2 |
+
ann_root: 'annotation'
|
| 3 |
+
|
| 4 |
+
# set pretrained as a file path or an url
|
| 5 |
+
pretrained: 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_caption_capfilt_large.pth'
|
| 6 |
+
|
| 7 |
+
vit: 'base'
|
| 8 |
+
batch_size: 32
|
| 9 |
+
|
| 10 |
+
image_size: 384
|
| 11 |
+
|
| 12 |
+
max_length: 20
|
| 13 |
+
min_length: 5
|
| 14 |
+
num_beams: 3
|
| 15 |
+
prompt: 'a picture of '
|