microsoft / GLIP

Grounded Language-Image Pre-training
MIT License
2.23k stars 192 forks source link

How can I build the configuration files in --ft-tasks {configs} when fine-tune the model on my custom dataset with the coco format? #106

Open ywysf120806 opened 1 year ago

ywysf120806 commented 1 year ago

How can I build the configuration files in --ft-tasks {configs} when fine-tune the model on my custom dataset with the coco format?

liunian-harold-li commented 1 year ago

You can checkout examples in https://github.com/microsoft/GLIP/blob/main/configs/odinw_13/.

Generally, you only need to specify the annotation file and image folder paths and number of classes; also remove the OVERRIDE_CATEGORY field to use the default category name in your coco annotation file.

zilong69 commented 1 year ago

您可以在https://github.com/microsoft/GLIP/blob/main/configs/odinw_13/中查看示例。

一般只需要指定标注文件和图片文件夹路径以及类别的数量即可;还要删除 OVERRIDE_CATEGORY 字段以使用 coco 注释文件中的默认类别名称。

What is the content of this file?(odinw/pothole/category_description.json)

ChenJian7578 commented 11 months ago

您可以在https://github.com/microsoft/GLIP/blob/main/configs/odinw_13/中查看示例。 一般只需要指定标注文件和图片文件夹路径以及类别的数量即可;还要删除 OVERRIDE_CATEGORY 字段以使用 coco 注释文件中的默认类别名称。

What is the content of this file?(odinw/pothole/category_description.json)

似乎不需要这个字段的配置,请问您在自己的数据集上实现训练了吗?训练时有出现什么新的问题吗