Upload folder using huggingface_hub
Browse files- checkpoint_0.pth +3 -0
- checkpoint_1.pth +3 -0
- checkpoint_2.pth +3 -0
- checkpoint_3.pth +3 -0
- checkpoint_4.pth +3 -0
- checkpoint_best.pth +3 -0
- evaluate.txt +7 -0
- log.txt +510 -0
checkpoint_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6dca852821217c490153774f6ba2d09c8466695f9264d8d3faaf373c29253ab6
|
| 3 |
+
size 2804010251
|
checkpoint_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5dc398c280d6b9c0865c9b1b87d8c73d599872e8a0950e7eb646b2e69b9feca2
|
| 3 |
+
size 2804010251
|
checkpoint_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a43f9053a2662945cd5ee8726c6df500628b28f968f0c8861f6f920b356bd106
|
| 3 |
+
size 2804010251
|
checkpoint_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8df1ce91b3db963a2a256240c4b3cc01f9ffd47c5263cb68bef3fed6e193b837
|
| 3 |
+
size 2804010251
|
checkpoint_4.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:958e91b7f57cc193e65b2257225edbdf1cfb3af2d9b75e370d36c51cdf8d7171
|
| 3 |
+
size 2804010251
|
checkpoint_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:958e91b7f57cc193e65b2257225edbdf1cfb3af2d9b75e370d36c51cdf8d7171
|
| 3 |
+
size 2804010251
|
evaluate.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"txt_r1": 77.26, "txt_r5": 93.48, "txt_r10": 96.86, "txt_r_mean": 89.2, "img_r1": 60.035985605757695, "img_r5": 83.80247900839665, "img_r10": 90.76369452219113, "img_r_mean": 78.20071971211514, "r_mean": 83.70035985605757, "agg_metrics": 89.2}
|
| 2 |
+
{"txt_r1": 77.8, "txt_r5": 93.72, "txt_r10": 97.12, "txt_r_mean": 89.54666666666667, "img_r1": 60.519792083166735, "img_r5": 84.406237504998, "img_r10": 90.89964014394242, "img_r_mean": 78.60855657736904, "r_mean": 84.07761162201786, "agg_metrics": 89.54666666666667}
|
| 3 |
+
{"txt_r1": 77.62, "txt_r5": 94.3, "txt_r10": 97.24, "txt_r_mean": 89.72000000000001, "img_r1": 60.59576169532187, "img_r5": 84.43822471011596, "img_r10": 91.05557776889245, "img_r_mean": 78.69652139144343, "r_mean": 84.20826069572172, "agg_metrics": 89.72000000000001}
|
| 4 |
+
{"txt_r1": 78.56, "txt_r5": 94.1, "txt_r10": 97.24, "txt_r_mean": 89.96666666666665, "img_r1": 61.12754898040784, "img_r5": 84.5701719312275, "img_r10": 91.1595361855258, "img_r_mean": 78.95241903238706, "r_mean": 84.45954284952685, "agg_metrics": 89.96666666666665}
|
| 5 |
+
{"txt_r1": 78.36, "txt_r5": 94.36, "txt_r10": 97.36, "txt_r_mean": 90.02666666666666, "img_r1": 61.10355857656937, "img_r5": 84.41423430627749, "img_r10": 91.06357457017194, "img_r_mean": 78.86045581767293, "r_mean": 84.44356124216979, "agg_metrics": 90.02666666666666}
|
| 6 |
+
{"txt_r1": 77.46, "txt_r5": 94.16, "txt_r10": 97.52, "txt_r_mean": 89.71333333333332, "img_r1": 60.57177129148341, "img_r5": 84.12235105957618, "img_r10": 90.51179528188725, "img_r_mean": 78.4019725443156, "r_mean": 84.05765293882446, "agg_metrics": 89.71333333333332}
|
| 7 |
+
{"txt_r1": 81.7, "txt_r5": 95.04, "txt_r10": 97.8, "txt_r_mean": 91.51333333333334, "img_r1": 63.53458616553379, "img_r5": 85.71771291483407, "img_r10": 91.54738104758097, "img_r_mean": 80.2665600426496, "r_mean": 85.88994668799147, "agg_metrics": 91.51333333333334}
|
log.txt
ADDED
|
@@ -0,0 +1,510 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"run": {
|
| 3 |
+
"task": "retrieval",
|
| 4 |
+
"lr_sched": "linear_warmup_cosine_lr",
|
| 5 |
+
"init_lr": 1e-05,
|
| 6 |
+
"min_lr": 1e-06,
|
| 7 |
+
"weight_decay": 0.05,
|
| 8 |
+
"max_epoch": 5,
|
| 9 |
+
"num_workers": 4,
|
| 10 |
+
"batch_size_train": 32,
|
| 11 |
+
"batch_size_eval": 64,
|
| 12 |
+
"train_splits": [
|
| 13 |
+
"train"
|
| 14 |
+
],
|
| 15 |
+
"valid_splits": [
|
| 16 |
+
"val"
|
| 17 |
+
],
|
| 18 |
+
"test_splits": [
|
| 19 |
+
"test"
|
| 20 |
+
],
|
| 21 |
+
"device": "cuda",
|
| 22 |
+
"world_size": 2,
|
| 23 |
+
"dist_url": "env://",
|
| 24 |
+
"distributed": true,
|
| 25 |
+
"use_dist_eval_sampler": false,
|
| 26 |
+
"k_test": 256,
|
| 27 |
+
"seed": 42,
|
| 28 |
+
"output_dir": "output/ALBEF/Retrieval_COCO",
|
| 29 |
+
"amp": false,
|
| 30 |
+
"resume_ckpt_path": null,
|
| 31 |
+
"evaluate": false,
|
| 32 |
+
"rank": 0,
|
| 33 |
+
"gpu": 0,
|
| 34 |
+
"dist_backend": "nccl"
|
| 35 |
+
},
|
| 36 |
+
"model": {
|
| 37 |
+
"arch": "albef_retrieval",
|
| 38 |
+
"load_finetuned": false,
|
| 39 |
+
"pretrained": "https://storage.googleapis.com/sfr-pcl-data-research/ALBEF/ALBEF.pth",
|
| 40 |
+
"finetuned": "https://storage.googleapis.com/sfr-vision-language-research/LAVIS/models/ALBEF/albef_coco_retrieval_lavis.pt",
|
| 41 |
+
"queue_size": 65536,
|
| 42 |
+
"vit_type": "base",
|
| 43 |
+
"image_size": 384,
|
| 44 |
+
"vit_ckpt_layer": 0,
|
| 45 |
+
"vit_drop_path_rate": 0,
|
| 46 |
+
"vit_layer_norm_epsilon": 1e-06,
|
| 47 |
+
"vit_grad_ckpt": false,
|
| 48 |
+
"med_config_path": "configs/models/med_config_albef.json",
|
| 49 |
+
"embed_dim": 256,
|
| 50 |
+
"momentum": 0.995,
|
| 51 |
+
"alpha": 0.4,
|
| 52 |
+
"temp": 0.07,
|
| 53 |
+
"use_distill": true,
|
| 54 |
+
"max_txt_len": 30,
|
| 55 |
+
"model_type": "coco"
|
| 56 |
+
},
|
| 57 |
+
"preprocess": {
|
| 58 |
+
"vis_processor": {
|
| 59 |
+
"train": {
|
| 60 |
+
"name": "blip_image_train",
|
| 61 |
+
"image_size": 384
|
| 62 |
+
},
|
| 63 |
+
"eval": {
|
| 64 |
+
"name": "blip_image_eval",
|
| 65 |
+
"image_size": 384
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"text_processor": {
|
| 69 |
+
"train": {
|
| 70 |
+
"name": "blip_caption"
|
| 71 |
+
},
|
| 72 |
+
"eval": {
|
| 73 |
+
"name": "blip_caption"
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"datasets": {
|
| 78 |
+
"coco_retrieval": {
|
| 79 |
+
"data_type": "images",
|
| 80 |
+
"build_info": {
|
| 81 |
+
"annotations": {
|
| 82 |
+
"train": {
|
| 83 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_train.json",
|
| 84 |
+
"md5": "aa31ac474cf6250ebb81d18348a07ed8",
|
| 85 |
+
"storage": "coco/annotations/coco_karpathy_train.json"
|
| 86 |
+
},
|
| 87 |
+
"val": {
|
| 88 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_val.json",
|
| 89 |
+
"md5": "b273847456ef5580e33713b1f7de52a0",
|
| 90 |
+
"storage": "coco/annotations/coco_karpathy_val.json"
|
| 91 |
+
},
|
| 92 |
+
"test": {
|
| 93 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_test.json",
|
| 94 |
+
"md5": "3ff34b0ef2db02d01c37399f6a2a6cd1",
|
| 95 |
+
"storage": "coco/annotations/coco_karpathy_test.json"
|
| 96 |
+
}
|
| 97 |
+
},
|
| 98 |
+
"images": {
|
| 99 |
+
"storage": "coco/images/"
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
"vis_processor": {
|
| 103 |
+
"train": {
|
| 104 |
+
"name": "blip_image_train",
|
| 105 |
+
"image_size": 384
|
| 106 |
+
},
|
| 107 |
+
"eval": {
|
| 108 |
+
"name": "blip_image_eval",
|
| 109 |
+
"image_size": 384
|
| 110 |
+
}
|
| 111 |
+
},
|
| 112 |
+
"text_processor": {
|
| 113 |
+
"train": {
|
| 114 |
+
"name": "blip_caption"
|
| 115 |
+
},
|
| 116 |
+
"eval": {
|
| 117 |
+
"name": "blip_caption"
|
| 118 |
+
}
|
| 119 |
+
}
|
| 120 |
+
}
|
| 121 |
+
}
|
| 122 |
+
}
|
| 123 |
+
{"train_lr": "0.000", "train_loss": "2.602", "train_loss_itc": "2.465", "train_loss_itm": "0.138"}
|
| 124 |
+
{"val_txt_r1": 77.16, "val_txt_r5": 93.72, "val_txt_r10": 96.9, "val_txt_r_mean": 89.25999999999999, "val_img_r1": 60.22391043582567, "val_img_r5": 83.93042782886845, "val_img_r10": 90.76769292283086, "val_img_r_mean": 78.30734372917499, "val_r_mean": 83.78367186458749, "val_agg_metrics": 89.25999999999999, "val_best_epoch": 0}
|
| 125 |
+
{"train_lr": "0.000", "train_loss": "2.797", "train_loss_itc": "2.672", "train_loss_itm": "0.125"}
|
| 126 |
+
{"val_txt_r1": 77.96, "val_txt_r5": 94.32, "val_txt_r10": 97.14, "val_txt_r_mean": 89.80666666666666, "val_img_r1": 60.67173130747701, "val_img_r5": 84.38624550179928, "val_img_r10": 90.98760495801679, "val_img_r_mean": 78.6818605890977, "val_r_mean": 84.24426362788218, "val_agg_metrics": 89.80666666666666, "val_best_epoch": 1}
|
| 127 |
+
{"train_lr": "0.000", "train_loss": "2.877", "train_loss_itc": "2.761", "train_loss_itm": "0.116"}
|
| 128 |
+
{"val_txt_r1": 78.52, "val_txt_r5": 94.14, "val_txt_r10": 97.26, "val_txt_r_mean": 89.97333333333334, "val_img_r1": 60.80367852858856, "val_img_r5": 84.40223910435826, "val_img_r10": 91.20351859256297, "val_img_r_mean": 78.80314540850325, "val_r_mean": 84.3882393709183, "val_agg_metrics": 89.97333333333334, "val_best_epoch": 2}
|
| 129 |
+
{"train_lr": "0.000", "train_loss": "2.748", "train_loss_itc": "2.640", "train_loss_itm": "0.107"}
|
| 130 |
+
{"val_txt_r1": 78.54, "val_txt_r5": 94.36, "val_txt_r10": 97.34, "val_txt_r_mean": 90.08, "val_img_r1": 61.02359056377449, "val_img_r5": 84.51819272291084, "val_img_r10": 91.13554578168733, "val_img_r_mean": 78.89244302279089, "val_r_mean": 84.48622151139544, "val_agg_metrics": 90.08, "val_best_epoch": 3}
|
| 131 |
+
{"train_lr": "0.000", "train_loss": "2.784", "train_loss_itc": "2.683", "train_loss_itm": "0.101"}
|
| 132 |
+
{"val_txt_r1": 78.6, "val_txt_r5": 94.12, "val_txt_r10": 97.36, "val_txt_r_mean": 90.02666666666666, "val_img_r1": 61.00759696121551, "val_img_r5": 84.55417832866853, "val_img_r10": 91.05557776889245, "val_img_r_mean": 78.87245101959216, "val_r_mean": 84.44955884312941, "val_agg_metrics": 90.02666666666666, "val_best_epoch": 3}
|
| 133 |
+
{
|
| 134 |
+
"run": {
|
| 135 |
+
"task": "retrieval",
|
| 136 |
+
"lr_sched": "linear_warmup_cosine_lr",
|
| 137 |
+
"init_lr": 1e-05,
|
| 138 |
+
"min_lr": 1e-06,
|
| 139 |
+
"weight_decay": 0.05,
|
| 140 |
+
"train_splits": [
|
| 141 |
+
"train"
|
| 142 |
+
],
|
| 143 |
+
"valid_splits": [
|
| 144 |
+
"val"
|
| 145 |
+
],
|
| 146 |
+
"test_splits": [
|
| 147 |
+
"test"
|
| 148 |
+
],
|
| 149 |
+
"k_test": 256,
|
| 150 |
+
"output_dir": "./output/original/albef/retrieval_coco",
|
| 151 |
+
"max_epoch": 5,
|
| 152 |
+
"log_freq": 2000,
|
| 153 |
+
"num_workers": 8,
|
| 154 |
+
"batch_size_train": 32,
|
| 155 |
+
"batch_size_eval": 64,
|
| 156 |
+
"device": "cuda",
|
| 157 |
+
"world_size": 2,
|
| 158 |
+
"dist_url": "env://",
|
| 159 |
+
"distributed": true,
|
| 160 |
+
"use_dist_eval_sampler": false,
|
| 161 |
+
"seed": 42,
|
| 162 |
+
"amp": false,
|
| 163 |
+
"resume_ckpt_path": null,
|
| 164 |
+
"evaluate": false,
|
| 165 |
+
"rank": 0,
|
| 166 |
+
"gpu": 0,
|
| 167 |
+
"dist_backend": "nccl"
|
| 168 |
+
},
|
| 169 |
+
"model": {
|
| 170 |
+
"arch": "albef_retrieval",
|
| 171 |
+
"load_finetuned": false,
|
| 172 |
+
"pretrained": "https://storage.googleapis.com/sfr-pcl-data-research/ALBEF/ALBEF.pth",
|
| 173 |
+
"finetuned": "https://storage.googleapis.com/sfr-vision-language-research/LAVIS/models/ALBEF/albef_coco_retrieval_lavis.pt",
|
| 174 |
+
"queue_size": 65536,
|
| 175 |
+
"vit_type": "base",
|
| 176 |
+
"image_size": 384,
|
| 177 |
+
"vit_ckpt_layer": 0,
|
| 178 |
+
"vit_drop_path_rate": 0,
|
| 179 |
+
"vit_layer_norm_epsilon": 1e-06,
|
| 180 |
+
"vit_grad_ckpt": false,
|
| 181 |
+
"med_config_path": "configs/models/med_config_albef.json",
|
| 182 |
+
"embed_dim": 256,
|
| 183 |
+
"momentum": 0.995,
|
| 184 |
+
"alpha": 0.4,
|
| 185 |
+
"temp": 0.07,
|
| 186 |
+
"use_distill": true,
|
| 187 |
+
"max_txt_len": 30,
|
| 188 |
+
"model_type": "coco"
|
| 189 |
+
},
|
| 190 |
+
"preprocess": {
|
| 191 |
+
"vis_processor": {
|
| 192 |
+
"train": {
|
| 193 |
+
"name": "blip_image_train",
|
| 194 |
+
"image_size": 384
|
| 195 |
+
},
|
| 196 |
+
"eval": {
|
| 197 |
+
"name": "blip_image_eval",
|
| 198 |
+
"image_size": 384
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"text_processor": {
|
| 202 |
+
"train": {
|
| 203 |
+
"name": "blip_caption"
|
| 204 |
+
},
|
| 205 |
+
"eval": {
|
| 206 |
+
"name": "blip_caption"
|
| 207 |
+
}
|
| 208 |
+
}
|
| 209 |
+
},
|
| 210 |
+
"datasets": {
|
| 211 |
+
"coco_retrieval": {
|
| 212 |
+
"data_type": "images",
|
| 213 |
+
"build_info": {
|
| 214 |
+
"annotations": {
|
| 215 |
+
"train": {
|
| 216 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_train.json",
|
| 217 |
+
"md5": "aa31ac474cf6250ebb81d18348a07ed8",
|
| 218 |
+
"storage": "coco/annotations/coco_karpathy_train.json"
|
| 219 |
+
},
|
| 220 |
+
"val": {
|
| 221 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_val.json",
|
| 222 |
+
"md5": "b273847456ef5580e33713b1f7de52a0",
|
| 223 |
+
"storage": "coco/annotations/coco_karpathy_val.json"
|
| 224 |
+
},
|
| 225 |
+
"test": {
|
| 226 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_test.json",
|
| 227 |
+
"md5": "3ff34b0ef2db02d01c37399f6a2a6cd1",
|
| 228 |
+
"storage": "coco/annotations/coco_karpathy_test.json"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"images": {
|
| 232 |
+
"storage": "coco/images/"
|
| 233 |
+
}
|
| 234 |
+
},
|
| 235 |
+
"vis_processor": {
|
| 236 |
+
"train": {
|
| 237 |
+
"name": "blip_image_train",
|
| 238 |
+
"image_size": 384
|
| 239 |
+
},
|
| 240 |
+
"eval": {
|
| 241 |
+
"name": "blip_image_eval",
|
| 242 |
+
"image_size": 384
|
| 243 |
+
}
|
| 244 |
+
},
|
| 245 |
+
"text_processor": {
|
| 246 |
+
"train": {
|
| 247 |
+
"name": "blip_caption"
|
| 248 |
+
},
|
| 249 |
+
"eval": {
|
| 250 |
+
"name": "blip_caption"
|
| 251 |
+
}
|
| 252 |
+
}
|
| 253 |
+
}
|
| 254 |
+
}
|
| 255 |
+
}
|
| 256 |
+
{"train_lr": "0.000", "train_loss": "2.636"}
|
| 257 |
+
{
|
| 258 |
+
"run": {
|
| 259 |
+
"task": "retrieval",
|
| 260 |
+
"lr_sched": "linear_warmup_cosine_lr",
|
| 261 |
+
"init_lr": 1e-05,
|
| 262 |
+
"min_lr": 1e-06,
|
| 263 |
+
"weight_decay": 0.05,
|
| 264 |
+
"train_splits": [
|
| 265 |
+
"train"
|
| 266 |
+
],
|
| 267 |
+
"valid_splits": [
|
| 268 |
+
"val"
|
| 269 |
+
],
|
| 270 |
+
"test_splits": [
|
| 271 |
+
"test"
|
| 272 |
+
],
|
| 273 |
+
"k_test": 256,
|
| 274 |
+
"output_dir": "./output/original/albef/retrieval_coco",
|
| 275 |
+
"max_epoch": 5,
|
| 276 |
+
"log_freq": 2000,
|
| 277 |
+
"num_workers": 8,
|
| 278 |
+
"batch_size_train": 32,
|
| 279 |
+
"batch_size_eval": 64,
|
| 280 |
+
"device": "cuda",
|
| 281 |
+
"world_size": 2,
|
| 282 |
+
"dist_url": "env://",
|
| 283 |
+
"distributed": true,
|
| 284 |
+
"use_dist_eval_sampler": false,
|
| 285 |
+
"seed": 42,
|
| 286 |
+
"amp": false,
|
| 287 |
+
"resume_ckpt_path": null,
|
| 288 |
+
"evaluate": false,
|
| 289 |
+
"rank": 0,
|
| 290 |
+
"gpu": 0,
|
| 291 |
+
"dist_backend": "nccl"
|
| 292 |
+
},
|
| 293 |
+
"model": {
|
| 294 |
+
"arch": "albef_retrieval",
|
| 295 |
+
"load_finetuned": false,
|
| 296 |
+
"pretrained": "https://storage.googleapis.com/sfr-pcl-data-research/ALBEF/ALBEF.pth",
|
| 297 |
+
"finetuned": "https://storage.googleapis.com/sfr-vision-language-research/LAVIS/models/ALBEF/albef_coco_retrieval_lavis.pt",
|
| 298 |
+
"queue_size": 65536,
|
| 299 |
+
"vit_type": "base",
|
| 300 |
+
"image_size": 384,
|
| 301 |
+
"vit_ckpt_layer": 0,
|
| 302 |
+
"vit_drop_path_rate": 0,
|
| 303 |
+
"vit_layer_norm_epsilon": 1e-06,
|
| 304 |
+
"vit_grad_ckpt": false,
|
| 305 |
+
"med_config_path": "configs/models/med_config_albef.json",
|
| 306 |
+
"embed_dim": 256,
|
| 307 |
+
"momentum": 0.995,
|
| 308 |
+
"alpha": 0.4,
|
| 309 |
+
"temp": 0.07,
|
| 310 |
+
"use_distill": true,
|
| 311 |
+
"max_txt_len": 30,
|
| 312 |
+
"model_type": "coco"
|
| 313 |
+
},
|
| 314 |
+
"preprocess": {
|
| 315 |
+
"vis_processor": {
|
| 316 |
+
"train": {
|
| 317 |
+
"name": "blip_image_train",
|
| 318 |
+
"image_size": 384
|
| 319 |
+
},
|
| 320 |
+
"eval": {
|
| 321 |
+
"name": "blip_image_eval",
|
| 322 |
+
"image_size": 384
|
| 323 |
+
}
|
| 324 |
+
},
|
| 325 |
+
"text_processor": {
|
| 326 |
+
"train": {
|
| 327 |
+
"name": "blip_caption"
|
| 328 |
+
},
|
| 329 |
+
"eval": {
|
| 330 |
+
"name": "blip_caption"
|
| 331 |
+
}
|
| 332 |
+
}
|
| 333 |
+
},
|
| 334 |
+
"datasets": {
|
| 335 |
+
"coco_retrieval": {
|
| 336 |
+
"data_type": "images",
|
| 337 |
+
"build_info": {
|
| 338 |
+
"annotations": {
|
| 339 |
+
"train": {
|
| 340 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_train.json",
|
| 341 |
+
"md5": "aa31ac474cf6250ebb81d18348a07ed8",
|
| 342 |
+
"storage": "coco/annotations/coco_karpathy_train.json"
|
| 343 |
+
},
|
| 344 |
+
"val": {
|
| 345 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_val.json",
|
| 346 |
+
"md5": "b273847456ef5580e33713b1f7de52a0",
|
| 347 |
+
"storage": "coco/annotations/coco_karpathy_val.json"
|
| 348 |
+
},
|
| 349 |
+
"test": {
|
| 350 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_test.json",
|
| 351 |
+
"md5": "3ff34b0ef2db02d01c37399f6a2a6cd1",
|
| 352 |
+
"storage": "coco/annotations/coco_karpathy_test.json"
|
| 353 |
+
}
|
| 354 |
+
},
|
| 355 |
+
"images": {
|
| 356 |
+
"storage": "coco/images/"
|
| 357 |
+
}
|
| 358 |
+
},
|
| 359 |
+
"vis_processor": {
|
| 360 |
+
"train": {
|
| 361 |
+
"name": "blip_image_train",
|
| 362 |
+
"image_size": 384
|
| 363 |
+
},
|
| 364 |
+
"eval": {
|
| 365 |
+
"name": "blip_image_eval",
|
| 366 |
+
"image_size": 384
|
| 367 |
+
}
|
| 368 |
+
},
|
| 369 |
+
"text_processor": {
|
| 370 |
+
"train": {
|
| 371 |
+
"name": "blip_caption"
|
| 372 |
+
},
|
| 373 |
+
"eval": {
|
| 374 |
+
"name": "blip_caption"
|
| 375 |
+
}
|
| 376 |
+
}
|
| 377 |
+
}
|
| 378 |
+
}
|
| 379 |
+
}
|
| 380 |
+
{"train_lr": "0.000", "train_loss": "2.636"}
|
| 381 |
+
{"val_txt_r1": 77.26, "val_txt_r5": 93.48, "val_txt_r10": 96.86, "val_txt_r_mean": 89.2, "val_img_r1": 60.035985605757695, "val_img_r5": 83.80247900839665, "val_img_r10": 90.76369452219113, "val_img_r_mean": 78.20071971211514, "val_r_mean": 83.70035985605757, "val_agg_metrics": 89.2, "val_best_epoch": 0}
|
| 382 |
+
{"train_lr": "0.000", "train_loss": "2.808"}
|
| 383 |
+
{"val_txt_r1": 77.8, "val_txt_r5": 93.72, "val_txt_r10": 97.12, "val_txt_r_mean": 89.54666666666667, "val_img_r1": 60.519792083166735, "val_img_r5": 84.406237504998, "val_img_r10": 90.89964014394242, "val_img_r_mean": 78.60855657736904, "val_r_mean": 84.07761162201786, "val_agg_metrics": 89.54666666666667, "val_best_epoch": 1}
|
| 384 |
+
{"train_lr": "0.000", "train_loss": "2.842"}
|
| 385 |
+
{"val_txt_r1": 77.62, "val_txt_r5": 94.3, "val_txt_r10": 97.24, "val_txt_r_mean": 89.72000000000001, "val_img_r1": 60.59576169532187, "val_img_r5": 84.43822471011596, "val_img_r10": 91.05557776889245, "val_img_r_mean": 78.69652139144343, "val_r_mean": 84.20826069572172, "val_agg_metrics": 89.72000000000001, "val_best_epoch": 2}
|
| 386 |
+
{"train_lr": "0.000", "train_loss": "2.833"}
|
| 387 |
+
{"val_txt_r1": 78.56, "val_txt_r5": 94.1, "val_txt_r10": 97.24, "val_txt_r_mean": 89.96666666666665, "val_img_r1": 61.12754898040784, "val_img_r5": 84.5701719312275, "val_img_r10": 91.1595361855258, "val_img_r_mean": 78.95241903238706, "val_r_mean": 84.45954284952685, "val_agg_metrics": 89.96666666666665, "val_best_epoch": 3}
|
| 388 |
+
{"train_lr": "0.000", "train_loss": "2.738"}
|
| 389 |
+
{"val_txt_r1": 78.36, "val_txt_r5": 94.36, "val_txt_r10": 97.36, "val_txt_r_mean": 90.02666666666666, "val_img_r1": 61.10355857656937, "val_img_r5": 84.41423430627749, "val_img_r10": 91.06357457017194, "val_img_r_mean": 78.86045581767293, "val_r_mean": 84.44356124216979, "val_agg_metrics": 90.02666666666666, "val_best_epoch": 4}
|
| 390 |
+
{
|
| 391 |
+
"run": {
|
| 392 |
+
"task": "retrieval",
|
| 393 |
+
"lr_sched": "linear_warmup_cosine_lr",
|
| 394 |
+
"init_lr": 2e-05,
|
| 395 |
+
"min_lr": 0,
|
| 396 |
+
"weight_decay": 0.04,
|
| 397 |
+
"k_test": 256,
|
| 398 |
+
"output_dir": "./output/original/albef/retrieval_coco",
|
| 399 |
+
"max_epoch": 5,
|
| 400 |
+
"log_freq": 2000,
|
| 401 |
+
"seed": 42,
|
| 402 |
+
"amp": false,
|
| 403 |
+
"resume_ckpt_path": null,
|
| 404 |
+
"evaluate": false,
|
| 405 |
+
"num_workers": 8,
|
| 406 |
+
"batch_size_train": 32,
|
| 407 |
+
"batch_size_eval": 128,
|
| 408 |
+
"train_splits": [
|
| 409 |
+
"train"
|
| 410 |
+
],
|
| 411 |
+
"valid_splits": [],
|
| 412 |
+
"test_splits": [
|
| 413 |
+
"test"
|
| 414 |
+
],
|
| 415 |
+
"device": "cuda",
|
| 416 |
+
"world_size": 2,
|
| 417 |
+
"dist_url": "env://",
|
| 418 |
+
"distributed": true,
|
| 419 |
+
"use_dist_eval_sampler": false,
|
| 420 |
+
"rank": 0,
|
| 421 |
+
"gpu": 0,
|
| 422 |
+
"dist_backend": "nccl"
|
| 423 |
+
},
|
| 424 |
+
"model": {
|
| 425 |
+
"arch": "blip_retrieval",
|
| 426 |
+
"load_finetuned": false,
|
| 427 |
+
"finetuned": "https://storage.googleapis.com/sfr-vision-language-research/LAVIS/models/BLIP/blip_coco_retrieval.pth",
|
| 428 |
+
"pretrained": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth",
|
| 429 |
+
"queue_size": 57600,
|
| 430 |
+
"vit_type": "base",
|
| 431 |
+
"vit_grad_ckpt": true,
|
| 432 |
+
"vit_ckpt_layer": 4,
|
| 433 |
+
"image_size": 384,
|
| 434 |
+
"med_config_path": "configs/models/med_config.json",
|
| 435 |
+
"embed_dim": 256,
|
| 436 |
+
"model_type": "coco",
|
| 437 |
+
"alpha": 0.4,
|
| 438 |
+
"negative_all_rank": true
|
| 439 |
+
},
|
| 440 |
+
"preprocess": {
|
| 441 |
+
"vis_processor": {
|
| 442 |
+
"train": {
|
| 443 |
+
"name": "blip_image_train",
|
| 444 |
+
"image_size": 384
|
| 445 |
+
},
|
| 446 |
+
"eval": {
|
| 447 |
+
"name": "blip_image_eval",
|
| 448 |
+
"image_size": 384
|
| 449 |
+
}
|
| 450 |
+
},
|
| 451 |
+
"text_processor": {
|
| 452 |
+
"train": {
|
| 453 |
+
"name": "blip_caption"
|
| 454 |
+
},
|
| 455 |
+
"eval": {
|
| 456 |
+
"name": "blip_caption"
|
| 457 |
+
}
|
| 458 |
+
}
|
| 459 |
+
},
|
| 460 |
+
"datasets": {
|
| 461 |
+
"coco_retrieval": {
|
| 462 |
+
"data_type": "images",
|
| 463 |
+
"build_info": {
|
| 464 |
+
"annotations": {
|
| 465 |
+
"train": {
|
| 466 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_train.json",
|
| 467 |
+
"md5": "aa31ac474cf6250ebb81d18348a07ed8",
|
| 468 |
+
"storage": "coco/annotations/coco_karpathy_train.json"
|
| 469 |
+
},
|
| 470 |
+
"val": {
|
| 471 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_val.json",
|
| 472 |
+
"md5": "b273847456ef5580e33713b1f7de52a0",
|
| 473 |
+
"storage": "coco/annotations/coco_karpathy_val.json"
|
| 474 |
+
},
|
| 475 |
+
"test": {
|
| 476 |
+
"url": "https://storage.googleapis.com/sfr-vision-language-research/datasets/coco_karpathy_test.json",
|
| 477 |
+
"md5": "3ff34b0ef2db02d01c37399f6a2a6cd1",
|
| 478 |
+
"storage": "coco/annotations/coco_karpathy_test.json"
|
| 479 |
+
}
|
| 480 |
+
},
|
| 481 |
+
"images": {
|
| 482 |
+
"storage": "coco/images/"
|
| 483 |
+
}
|
| 484 |
+
},
|
| 485 |
+
"vis_processor": {
|
| 486 |
+
"train": {
|
| 487 |
+
"name": "blip_image_train",
|
| 488 |
+
"image_size": 384
|
| 489 |
+
},
|
| 490 |
+
"eval": {
|
| 491 |
+
"name": "blip_image_eval",
|
| 492 |
+
"image_size": 384
|
| 493 |
+
}
|
| 494 |
+
},
|
| 495 |
+
"text_processor": {
|
| 496 |
+
"train": {
|
| 497 |
+
"name": "blip_caption"
|
| 498 |
+
},
|
| 499 |
+
"eval": {
|
| 500 |
+
"name": "blip_caption"
|
| 501 |
+
}
|
| 502 |
+
}
|
| 503 |
+
}
|
| 504 |
+
}
|
| 505 |
+
}
|
| 506 |
+
{"train_lr": "0.000", "train_loss": "2.388"}
|
| 507 |
+
{"train_lr": "0.000", "train_loss": "2.612"}
|
| 508 |
+
{"train_lr": "0.000", "train_loss": "2.638"}
|
| 509 |
+
{"train_lr": "0.000", "train_loss": "2.539"}
|
| 510 |
+
{"train_lr": "0.000", "train_loss": "2.485"}
|