OSU-NLP-Group / MagicBrush

[NeurIPS'23] "MagicBrush: A Manually Annotated Dataset for Instruction-Guided Image Editing".
https://osu-nlp-group.github.io/MagicBrush/
Other
313 stars 14 forks source link

Questions when creating a source image from a COCO dataset #11

Closed olccihyeon closed 9 months ago

olccihyeon commented 9 months ago

The images in the coco dataset vary widely in size. However, the source image of magicbrush has a size of (500,500).

How did you preprocess the images in the coco dataset and what is the procedure?

Thank you

drogozhang commented 9 months ago

Hi, thanks for your interest in our work.

Here is the code we used for automatically image cropping: https://github.com/haofanwang/cropimage Hope it helps.

Best, Kai