Skip to content

Code repo for EMNLP-2022 Story Visualization Paper

Notifications You must be signed in to change notification settings

PlusLabNLP/VP-CSV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Character-Centric Story Visualization via Visual Planning and Token Alignment

Overview

Processing

  • Traning VQ-GAN

borrow codes from https://github.com/CompVis/taming-transformers

cd VQ-VAE/taming-transformers

configure train/test image and names in custon_vqgan.yaml

python main.py --base configs/custom_vqgan.yaml -t True --gpus 0,1,2,3

  • Training DALLE (VQ-VAQ-LM)

Data could be found here

https://drive.google.com/file/d/10tU8A84XRJ1jLFRyzo1liKFI1f0kwjXB/view?usp=share_link

cd VQ-VAE/VQ-VAE-LM

change train.py line 28-29:

model_path = $VQ_GAN_MODEL_PATH

model_config = $VQ_GAN_CONFIG_PATH

python train.py

  • Training DALLE (VP-CSV)

Code and data could be found here https://drive.google.com/file/d/1VV6ej_vm-NA6x2uDrYveYOXNLgI_M7vZ/view?usp=sharing

About

Code repo for EMNLP-2022 Story Visualization Paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.8%
  • Python 2.2%