ProjectNUWA / LayoutNUWA

MIT License
134 stars 16 forks source link

About the Magazine Dataset Preprocessing· #11

Open zzli2022 opened 11 months ago

zzli2022 commented 11 months ago

I noticed that the magazine dataset requires a 'train.json' file, and I couldn't find detailed instructions on how to create it within LayoutDM. Could you provide more detailed guidance on how to construct the 'train.json' file for the magazine dataset?

Ashwin-Pokharel commented 8 months ago

you can use this https://github.com/CyberAgentAILab/layout-dm/blob/main/docs/custom_dataset.md from layout-dm and u can get the dataset class code form https://github.com/ktrk115/const_layout/blob/master/data/magazine.py