Open zzli2022 opened 11 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
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?