{ | |
"model_cfg": { | |
"embed_dim": 512, | |
"vision_cfg": { | |
"image_size": 224, | |
"layers": 12, | |
"width": 768, | |
"patch_size": 32 | |
}, | |
"text_cfg": { | |
"hf_model_name": "xlm-roberta-base", | |
"hf_tokenizer_name": "xlm-roberta-base", | |
"hf_pooler_type": "mean_pooler" | |
} | |
}, | |
"preprocess_cfg": { | |
"mean": [ | |
0.48145466, | |
0.4578275, | |
0.40821073 | |
], | |
"std": [ | |
0.26862954, | |
0.26130258, | |
0.27577711 | |
], | |
"interpolation": "bicubic", | |
"resize_mode": "shortest" | |
} | |
} |