We used Torch for our experiments. Here we provide a PyTorch version which is not well-tested.
pip install -r requirements.txt
python train.py --restore=0
Set restore=1 to resume training from a checkpoint.
We provide the pretrained checkpoint here.
python train.py --task=test