albef
copied
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions
31 lines
632 B
31 lines
632 B
train_file: ['data/flickr30k_train.json']
|
|
val_file: 'data/flickr30k_val.json'
|
|
test_file: 'data/flickr30k_test.json'
|
|
image_root: '/export/share/datasets/vision/flickr30k/' #flickr30k-images/
|
|
|
|
bert_config: 'configs/config_bert.json'
|
|
|
|
image_res: 384
|
|
batch_size_train: 32
|
|
batch_size_test: 64
|
|
|
|
queue_size: 65536
|
|
momentum: 0.995
|
|
vision_width: 768
|
|
embed_dim: 256
|
|
temp: 0.07
|
|
k_test: 128
|
|
|
|
alpha: 0.4
|
|
distill: True
|
|
warm_up: True
|
|
|
|
optimizer: {opt: adamW, lr: 1e-5, weight_decay: 0.02}
|
|
schedular: {sched: cosine, lr: 1e-5, epochs: 10, min_lr: 1e-6, decay_rate: 1, warmup_lr: 1e-5, warmup_epochs: 1, cooldown_epochs: 0}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|