Skip to content

评测其他数据集的sh脚本? #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hshc123 opened this issue Apr 17, 2025 · 3 comments
Open

评测其他数据集的sh脚本? #19

hshc123 opened this issue Apr 17, 2025 · 3 comments

Comments

@hshc123
Copy link

hshc123 commented Apr 17, 2025

作者您好,我想在论文中提到的refcoco数据集进行eval,但是代码库里只有bash evaluation_scripts/eval_reasonseg.sh,请问后面会提供在其他数据的评测脚本嘛

@LiuRicky
Copy link
Collaborator

Replacing TEST_DATA_PATH="Ricky06662/ReasonSeg_test" to Ricky06662/refcocoplus_testA, Ricky06662/refcoco_testA or Ricky06662/refcocog_test. We currently provide these datasets. For others, you can generate dataset by yourself following the format of the above dataset.

@hshc123
Copy link
Author

hshc123 commented Apr 18, 2025

Replacing TEST_DATA_PATH="Ricky06662/ReasonSeg_test" to Ricky06662/refcocoplus_testA, Ricky06662/refcoco_testA or Ricky06662/refcocog_test. We currently provide these datasets. For others, you can generate dataset by yourself following the format of the above dataset.

感谢您的回复,还有一个困惑,就是我下载的refcoco和reason_seg数据文件夹格式是不一样的,reason_seg是
ReasonSeg_test
|xxx.jpg,xxx.json

refcoco是
├── refcoco/
│ ├── refs(unc).p # pickle文件,包含引用信息
│ └── instances.json # COCO格式的标注文件
└── images/
└── mscoco/
└── images/
└── train2014/
└── COCO_train2014_*.jpg # 实际图像文件

@LiuRicky
Copy link
Collaborator

LiuRicky commented Apr 18, 2025

关于对refcoco数据的处理,可以参考https://github.com/dvlab-research/LISA/blob/main/utils/refer_seg_dataset.py ,你需要对应修改create_reasonseg_hf.py中数据读取的部分。
我们也会在接下来几周内陆续release refcoco(+/g)到huggingface format。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants