grit icon indicating copy to clipboard operation
grit copied to clipboard

How to train my dataset

Open wenshihao1 opened this issue 1 year ago • 8 comments

I don't know how to start training my dataset. Can you tell me the steps?

wenshihao1 avatar Aug 01 '23 05:08 wenshihao1

May you provide the structure of the annotations you have? BTW, I have an example to train on custom dataset here: https://github.com/davidnvq/grit#finetune--retrain-grit-on-your-own-dataset

davidnvq avatar Aug 01 '23 13:08 davidnvq

export DATA_ROOT=path/to/coco_dataset

with pretrained object detector on 4 datasets

python train_caption.py exp.name=caption_4ds model.detector.checkpoint=4ds_detector_path

with pretrained object detector on Visual Genome

python train_caption.py exp.name=caption_4ds model.detector.checkpoint=vg_detector_path

this i can't unsderstand. "exp.name=caption_4ds model.detector.checkpoint=4ds_detector_path" what's means?

wenshihao1 avatar Aug 02 '23 02:08 wenshihao1

#vi_caption_path = "/media/local_workspace/quang/datasets/vietcap/vi_captions.json" This means all data in json format?

wenshihao1 avatar Aug 02 '23 02:08 wenshihao1

Sorry, i can't find the example to train my dataset. I just can find three files. Thanks for your reply. Good luck with your work

At 2023-08-01 21:07:27, "Van-Quang Nguyen" @.***> wrote:

May you provide the structure of the annotations you have? BTW, I have an example to train on custom dataset here: https://github.com/davidnvq/grit#finetune--retrain-grit-on-your-own-dataset

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

wenshihao1 avatar Aug 04 '23 02:08 wenshihao1

How do I label my own data set?Is there any tool to get the caption?I look forward to your answer。

Wangdanchunbufuz avatar Sep 13 '23 12:09 Wangdanchunbufuz

@Wangdanchunbufuz Hi there, may I get in detail what format of your dataset now?

davidnvq avatar Sep 17 '23 02:09 davidnvq

@Wangdanchunbufuz Hi there, may I get in detail what format of your dataset now?

I'm sorry for the late reply!If I want to annotate my own data set to train your model, should I annotate the mscoco dataset in json format? Is there any annotation software that can be annotated in json format? Looking forward to your reply!

Wangdanchunbufuz avatar Oct 19 '23 06:10 Wangdanchunbufuz

@Wangdanchunbufuz Hi there, may I get in detail what format of your dataset now?

I'm sorry for the late reply!If I want to annotate my own data set to train your model, should I annotate the mscoco dataset in json format? Is there any annotation software that can be annotated in json format? Looking forward to your reply!

have you figured out how to prepare custom dataset?

Dufresue avatar Nov 07 '23 07:11 Dufresue