{ "train_txt_db": "/db/vqa_train_base-cased.db/", "train_img_dir": "/img/coco_train2014/", "val_txt_db": "/db/vqa_val_base-cased.db/", "val_img_dir": "/img/coco_val2014/", "ans2label": "/db/ans2label.pkl", "checkpoint": "/storage/mlm/caption-base_from-scratch_grad-acc-8_step-80k_val-step-5k_lr-2e-4_wu-0.1/ckpt/model_step_80000_final.pt", "cut_bert": -1, "output_dir": "/storage/vqa/bert_base-mlm_caption_nonblind_from_scratch-nowd-linear", "max_txt_len": 60, "conf_th": 0.2, "max_bb": 100, "min_bb": 10, "num_bb": 36, "train_batch_size": 2048, "val_batch_size": 4096, "gradient_accumulation_steps": 8, "learning_rate": 0.001, "valid_steps": 500, "num_train_steps": 20000, "optim": "adamax", "decay": "linear", "dropout": 0.1, "weight_decay": 0, "grad_norm": 2.0, "warmup_steps": 1000, "seed": 42, "fp16": false, "blind": false }