Open Srikeshram opened 1 year ago
@Srikeshram Stage-2 finetuning means CIDEr optimization, if you want to perform CIDEr optimizationon a custom dataset, you should create xxx-train-words.p
yourself.
How could I create that one? @logicwong
How could I create that one?
Would you please suggest me the steps?
@logicwong
Can I have a sample file xxx_words.p
file to look into it? @logicwong
@logicwong Thank you for sharing the file. I could see the contents. Can you please elaborate the procedure to generate the document frequency for the captions that are present in the custom dataset ?
@Srikeshram What the batch_size you can set when finetuning OFA-large on your custom captioning dataset? The max batch_size less than 10 in 32G V100 with my code.
Hello, I have been trying to finetune with Image-Captioning, but I find myself at a loss in this progress. Could you suggest some tutorial for it?
Maybe you can try the repository,I succeed to use transformers to train OFA model and inference: https://github.com/yangjianxin1/OFA-Chinese
Hii Everyone,
I am trying to finetune the OFA large model on the custom dataset. It doesn't contains the cached tokens. So during the Stage-1 finetuning I removed the
--eval-cider
argument and successfully completed the training.On the Stage-2 , I did the same and also removed
--scst-cider
argument and started the training. During the time of initialization it raisesFileNotFoundError: [Errno 2] No such file or directory: 'coco-train-words.p'
My training configuration is:
Kindly help me to sort out the issue.
Thank you in Advance.