LayoutTransformer

arXiv | BibTeX | Project Page

This repo contains code for single GPU training of LayoutTransformer from LayoutTransformer: Layout Generation and Completion with Self-attention. This code was rewritten from scratch using a cleaner GPT codebase. Some of the details such as training hyperparameters might differ from the arxiv version of the paper.

teaser!

How To Use This Code

Start a new conda environment

conda env create -f environment.yml
conda activate layout

or update an existing environment

conda env update -f environment.yml --prune

Logging with wandb

In order to log experiments to wandb, we use wandb’s API keys that can be found here https://wandb.ai/settings. Copy your key and store them in an environment variable using

<div class="snippet-clipboard-content position-relative overflow-auto" data-snippet-clipboard-copy-content="export WANDB_API_KEY=
“>

export WANDB_API_KEY=