| | dataset: 'caption_coco' |
| | image_root: 'source/COCO' |
| | ann_root: 'source/COCO/annotation' |
| | coco_gt_root: 'source/COCO/annotation' |
| |
|
| | |
| | pretrained: 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_caption_capfilt_large.pth' |
| |
|
| | |
| | vit: 'base' |
| | vit_grad_ckpt: False |
| | vit_ckpt_layer: 0 |
| | batch_size: 32 |
| | init_lr: 1e-5 |
| |
|
| | |
| | |
| | |
| | |
| | |
| |
|
| | image_size: 384 |
| |
|
| | |
| | med_config: configs/med_config.json |
| | max_length: 20 |
| | min_length: 5 |
| | num_beams: 3 |
| | prompt: 'a picture of ' |
| |
|
| | |
| | weight_decay: 0.05 |
| | min_lr: 0 |
| | max_epoch: 5 |
| | val_interval: 5 |
| |
|