About the Magazine Dataset Preprocessing·
zzli2022 opened this issue · 1 comments
zzli2022 commented
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
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