dino-chiio / blip-vqa-finetune

This is implementation of finetuning BLIP model for Visual Question Answering
42 stars 6 forks source link

Change loss function #7

Closed terrie1028 closed 1 month ago

terrie1028 commented 1 month ago

Hi, @dino-chiio. First of all, thanks for sharing your code.

I have a question. In the fine-tuning code, is it possible to replace the loss function with a loss other than that of the exsisting model? If it is possible, I would appreciate it if you could tell me how.

Thank you!