MiniGPT-4 icon indicating copy to clipboard operation
MiniGPT-4 copied to clipboard

yaml configuration of validation and test splits for downstream datasets

Open franciszchen opened this issue 2 years ago • 2 comments

Hi, thanks for sharing this great project! I am transferring the minigpt-4 to a downstream dataset. The training of downstream dataset is fine, but for the validation/test splits I encountered some problems with the dataloaders, where the vis_processor of the validation/test splits is None. In the dataloader of validation/test splits, my script can access the samples. I think the yaml configuration may be some problem. Here is my configuration for the downstream dataset.

datasets:
  downstream_dataset:
    vis_processor:
      train:
        name: "blip2_image_train"
        image_size: 224
    text_processor:
      train:
        name: "blip_caption"

I am wondering how to modify it for the validation and test splits, as well as the keywords for them. Thx~

franciszchen avatar Apr 22 '23 08:04 franciszchen

Have you completed the test code? How to set the yaml configuration and dataset? @franciszchen

hao1635 avatar Jun 01 '23 11:06 hao1635

Hello! Did you find out the way for the same? If so, can you please guide by sharing the yaml configuration?

Abhiram4572 avatar Jan 18 '24 08:01 Abhiram4572