lightningdot
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
38 lines
1.1 KiB
38 lines
1.1 KiB
{
|
|
"txt_model_type": "bert-base",
|
|
"txt_model_config": "bert-base-cased",
|
|
"img_model_type": "uniter-base",
|
|
"img_model_config": "./config/img_base.json",
|
|
"img_checkpoint": "./data/model/uniter-base.pt",
|
|
"itm_global_file":"./data/meta/flickr_meta.json",
|
|
"train_batch_size": 64,
|
|
"gradient_accumulation_steps": 1,
|
|
"learning_rate": 2e-05,
|
|
"warmup_steps": 100,
|
|
"valid_steps": 500,
|
|
"num_train_epochs": 15,
|
|
"seed": 42,
|
|
"output_dir": "/storage/debug_flickr",
|
|
"max_txt_len": 60,
|
|
"conf_th": 0.2,
|
|
"max_bb": 100,
|
|
"min_bb": 10,
|
|
"num_bb": 36,
|
|
"project_dim": 768,
|
|
"train_txt_dbs": [
|
|
"./data/db/itm_flickr30k_train_base-cased.db"
|
|
],
|
|
"train_img_dbs": [
|
|
"./data/img/flickr30k/"
|
|
],
|
|
"val_txt_db": "./data/db/itm_flickr30k_val_base-cased.db",
|
|
"val_img_db": "./data/img/flickr30k/",
|
|
"test_txt_db": "./data/db/itm_flickr30k_test_base-cased.db",
|
|
"test_img_db": "./data/img/flickr30k/",
|
|
"project_name": "itm-debug",
|
|
"num_hard_negatives": 0,
|
|
"hard_negatives_sampling": "none",
|
|
"inf_minibatch_size": 0,
|
|
"n_workers": 0,
|
|
"fp16": true
|
|
}
|