├── .gitignore ├── LICENCE ├── README.md ├── assets ├── clglo.png ├── layoutganpp.png ├── optimizing_beautify_0.gif ├── optimizing_beautify_1.gif ├── optimizing_relation_0.gif ├── optimizing_relation_1.gif └── rico_training.gif ├── clg ├── auglag.py ├── const.py └── optim.py ├── data ├── README.md ├── __init__.py ├── base.py ├── magazine.py ├── publaynet.py ├── rico.py └── util.py ├── download_model.sh ├── eval.py ├── generate.py ├── generate_const.py ├── metric.py ├── model ├── layoutganpp.py ├── layoutnet.py └── util.py ├── requirements.txt ├── train.py └── util.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/LICENCE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/README.md -------------------------------------------------------------------------------- /assets/clglo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/assets/clglo.png -------------------------------------------------------------------------------- /assets/layoutganpp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/assets/layoutganpp.png -------------------------------------------------------------------------------- /assets/optimizing_beautify_0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/assets/optimizing_beautify_0.gif -------------------------------------------------------------------------------- /assets/optimizing_beautify_1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/assets/optimizing_beautify_1.gif -------------------------------------------------------------------------------- /assets/optimizing_relation_0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/assets/optimizing_relation_0.gif -------------------------------------------------------------------------------- /assets/optimizing_relation_1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/assets/optimizing_relation_1.gif -------------------------------------------------------------------------------- /assets/rico_training.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/assets/rico_training.gif -------------------------------------------------------------------------------- /clg/auglag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/clg/auglag.py -------------------------------------------------------------------------------- /clg/const.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/clg/const.py -------------------------------------------------------------------------------- /clg/optim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/clg/optim.py -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/data/README.md -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/data/__init__.py -------------------------------------------------------------------------------- /data/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/data/base.py -------------------------------------------------------------------------------- /data/magazine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/data/magazine.py -------------------------------------------------------------------------------- /data/publaynet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/data/publaynet.py -------------------------------------------------------------------------------- /data/rico.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/data/rico.py -------------------------------------------------------------------------------- /data/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/data/util.py -------------------------------------------------------------------------------- /download_model.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/download_model.sh -------------------------------------------------------------------------------- /eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/eval.py -------------------------------------------------------------------------------- /generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/generate.py -------------------------------------------------------------------------------- /generate_const.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/generate_const.py -------------------------------------------------------------------------------- /metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/metric.py -------------------------------------------------------------------------------- /model/layoutganpp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/model/layoutganpp.py -------------------------------------------------------------------------------- /model/layoutnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/model/layoutnet.py -------------------------------------------------------------------------------- /model/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/model/util.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | scipy==1.7.0 2 | seaborn 3 | pycocotools 4 | tensorboard 5 | pytorch-fid 6 | cma 7 | -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/train.py -------------------------------------------------------------------------------- /util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ktrk115/const_layout/HEAD/util.py --------------------------------------------------------------------------------