[Feat] Add download link for coco caption and retrieval annotations. (#1607)

* [Feat] Add download link for coco caption and retrieval annotations.

* minor fix
pull/1644/head
Hubert 2023-06-13 10:29:54 +08:00 committed by GitHub
parent bb415b91be
commit 8e9e880601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# data settings
# coco caption annotations can be grabbed from LAVIS repo
# https://github.com/salesforce/LAVIS/blob/main/lavis/configs/datasets/coco/defaults_cap.yaml
data_preprocessor = dict(
type='MultiModalDataPreprocessor',
mean=[122.770938, 116.7460125, 104.09373615],

View File

@ -1,4 +1,8 @@
# data settings
# Here are the links to download the annotations for coco retrieval for conveniency # noqa
# https://download.openmmlab.com/mmclassification/datasets/coco_retrieval/caption_karpathy_train2014.json
# https://download.openmmlab.com/mmclassification/datasets/coco_retrieval/caption_karpathy_val2014.json
# https://download.openmmlab.com/mmclassification/datasets/coco_retrieval/caption_karpathy_test2014.json
data_preprocessor = dict(
type='MultiModalDataPreprocessor',
mean=[122.770938, 116.7460125, 104.09373615],