LayoutFlow: Flow Matching for Layout Generation
Paper
•
2403.18187
•
Published
This repository holds the dataset and pretrained weights for LayoutFlow (Paper|Code).
You can download the data as follows:
git clone https://huggingface.co/JulianGuerreiro/LayoutFlow
We provide checkpoints for our proposed approach called LayoutFlow for both the RICO and the PubLayNet dataset. We further provide the weights of the same model architecture trained with Diffusion, which we call LayoutDMx.
We provide the RICO and PubLayNet datasets with the same split as in the LayoutDiffusion (Zhang et al., ICCV 2023) paper as .pt files.
For more information on how to extract the data, you can take a look at the dataloader in our GitHub repository.
RICO
ldm_rico_(train/val/test).pt: regular dataldm_lex_rico_(train/val/test).pt: data with layout elements sorted in lexographical order (is used by the model if dataset.lex_order=True)PubLayNet
publaynet_(train/val/test).pt: regular dataldm_lex_publaynet_(train/val/test).pt: data with layout elements sorted in lexographical order (is used by the model if dataset.lex_order=True)publaynet_(train/val/test)_inoue.pt: regular data, but split following LayoutDM (Inoue et al., CVPR 2023)