Skip to content

Commit ba34018

Browse files
committed
fix urls
1 parent 684e630 commit ba34018

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

kosmos-2/evaluation/flickr_entities/README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ You can run the following command to convert the data format from [MDETR pre-pro
3131
python cook_data.py /path/to/mdetr_annotations /path/to/flickr-images
3232
```
3333

34-
Alternatively, you also can download the pre-processed files: [val split](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/final_flickr_separateGT_val.json.inline.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D
35-
) and [test split](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/final_flickr_separateGT_test.json.inline.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D
36-
). Remember to replace the image path in our provided files with the specific image path on your machine.
34+
Alternatively, you also can download the pre-processed files: [val split](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/final_flickr_separateGT_val.json.inline.locout
35+
) and [test split](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/final_flickr_separateGT_test.json.inline.locout). Remember to replace the image path in our provided files with the specific image path on your machine.
3736

3837
## Evaluation
3938

@@ -51,7 +50,7 @@ bash evaluation/grd-zeroshot-flickr.sh 0 32 /path/to/kosmos-2.pt /path/to/final_
5150
where `final_flickr_separateGT_val.json` can be found after downloading and uncompressing the [MDETR annotations](https://zenodo.org/record/4729015/files/mdetr_annotations.tar.gz?download=1), `final_flickr_separateGT_test.json.inline.locout` can be downloaded or generated in [here](#2-convert-data-format), and `/path/to/flickr30k_entities` is the path where you cloned the official [Flickr30k annotations](https://github.com/BryanPlummer/flickr30k_entities).
5251

5352

54-
Alternatively, download our provided evaluation results ([val_split_ouput](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/kosmos2_inst.pt.flickr.val.inline.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D) and [test_split_ouput](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/kosmos2_inst.pt.flickr.test.inline.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D)) and then evaluate:
53+
Alternatively, download our provided evaluation results ([val_split_ouput](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/kosmos2_inst.pt.flickr.val.inline.locout) and [test_split_ouput](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/kosmos2_inst.pt.flickr.test.inline.locout)) and then evaluate:
5554
```python
5655
python evaluation/flickr/flickr_entities_evaluate.py /path/to/eval_result --annotation_file /path/to/final_flickr_separateGT_val.json --flickr_entities_path /path/to/flickr30k_entities
5756
```

kosmos-2/evaluation/refcoco/README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ python cook_data.py /path/to/mdetr_annotations /path/to/MSCOCO2014
2222
```
2323

2424
Alternatively, you also can download the pre-processed files:
25-
[RefCOCO val split](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/finetune_refcoco_val.json.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
26-
[RefCOCO testA split](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/finetune_refcoco_testA.json.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
27-
[RefCOCO testB split](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/finetune_refcoco_testB.json.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
28-
[RefCOCO+ val split](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/finetune_refcoco+_val.json.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
29-
[RefCOCO+ testA split](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/finetune_refcoco+_testA.json.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
30-
[RefCOCO+ testB split](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/finetune_refcoco+_testB.json.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
31-
[RefCOCOg val split](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/finetune_refcocog_val.json.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D)
32-
and [RefCOCOg test split](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/finetune_refcocog_test.json.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
25+
[RefCOCO val split](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/finetune_refcoco_val.json.locout),
26+
[RefCOCO testA split](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/finetune_refcoco_testA.json.locout),
27+
[RefCOCO testB split](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/finetune_refcoco_testB.json.locout),
28+
[RefCOCO+ val split](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/finetune_refcoco+_val.json.locout),
29+
[RefCOCO+ testA split](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/finetune_refcoco+_testA.json.locout),
30+
[RefCOCO+ testB split](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/finetune_refcoco+_testB.json.locout),
31+
[RefCOCOg val split](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/finetune_refcocog_val.json.locout)
32+
and [RefCOCOg test split](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/finetune_refcocog_test.json.locout),
3333
Remember to replace the image path in our provided files with the specific image path on your machine.
3434

3535
## Evaluation
@@ -55,14 +55,14 @@ bash evaluation/grd-zeroshot-refcoco.sh 0 32 /path/to/kosmos-2.pt /path/to/finet
5555
```
5656
where `finetune_refcoco*.json` can be found after downloading and uncompressing the [MDETR annotations](https://zenodo.org/record/4729015/files/mdetr_annotations.tar.gz?download=1), `finetune_*.json.locout` can be downloaded or generated in [here](#2-convert-data-format).
5757

58-
Alternatively, download our provided evaluation results [RefCOCO val result](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/kosmos2_inst.pt.refcoco.val.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
59-
[RefCOCO testA result](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/kosmos2_inst.pt.refcoco.testA.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
60-
[RefCOCO testB result](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/kosmos2_inst.pt.refcoco.testB.locout.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
61-
[RefCOCO+ val result](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/kosmos2_inst.pt.refcoco+.val.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
62-
[RefCOCO+ testA result](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/kosmos2_inst.pt.refcoco+.testA.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
63-
[RefCOCO+ testB result](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/kosmos2_inst.pt.refcoco+.testB.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D),
64-
[RefCOCOg val result](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/kosmos2_inst.pt.refcocog.val.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D)
65-
and [RefCOCOg test result](https://conversationhub.blob.core.windows.net/beit-share-public/kosmos-2/eval/kosmos2_inst.pt.refcocog.test.locout?sv=2021-10-04&st=2023-06-08T11%3A16%3A02Z&se=2033-06-09T11%3A16%3A00Z&sr=c&sp=r&sig=N4pfCVmSeq4L4tS8QbrFVsX6f6q844eft8xSuXdxU48%3D) and then evaluate:
58+
Alternatively, download our provided evaluation results [RefCOCO val result](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/kosmos2_inst.pt.refcoco.val.locout),
59+
[RefCOCO testA result](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/kosmos2_inst.pt.refcoco.testA.locout),
60+
[RefCOCO testB result](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/kosmos2_inst.pt.refcoco.testB.locout),
61+
[RefCOCO+ val result](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/kosmos2_inst.pt.refcoco+.val.locout),
62+
[RefCOCO+ testA result](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/kosmos2_inst.pt.refcoco+.testA.locout),
63+
[RefCOCO+ testB result](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/kosmos2_inst.pt.refcoco+.testB.locout),
64+
[RefCOCOg val result](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/kosmos2_inst.pt.refcocog.val.locout)
65+
and [RefCOCOg test result](https://github.com/pengzhiliang/file/releases/download/k2_eval_files/kosmos2_inst.pt.refcocog.test.locout) and then evaluate:
6666
```python
6767
python evaluation/refcoco/refexp_evaluate.py /path/to/downloaded_results /path/to/finetune_refcoco*.json
6868

0 commit comments

Comments
 (0)