X-PLUG / mPLUG-Owl

mPLUG-Owl: The Powerful Multi-modal Large Language Model Family
https://www.modelscope.cn/studios/damo/mPLUG-Owl
MIT License
2.33k stars 176 forks source link

how to increase the image resolution on mPLUG-Owl2? #254

Open pooregg opened 3 days ago

pooregg commented 3 days ago

Thank you for your sharing,

In my own task, I think the image scaling to 448 is too small. How to increase the image resolution? Do I only need to modify the preprocessor_config.json configuration?

{ "crop_size": 448, "do_center_crop": true, "do_normalize": true, "do_resize": true, "feature_extractor_type": "CLIPFeatureExtractor", "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "resample": 3, "size": 448 }

pooregg commented 3 days ago

how to increase the input images resolution on mPLUG-Owl2? @LukeForeverYoung @admk @butyuhao @joehoover