Skip to content

Xinyu-Shi/De-Stijl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

De-Stijl

This is the code repository for the paper De-Stijl: Facilitating Graphics Design with Interactive 2D Color Palette Recommendation (CHI'23)

De-Stijl

Steps to run the code

git clone https://github.com/Xinyu-Shi/De-Stijl.git
cd De-Stijl

Backend Preparation

cd De-Stijl-backend
  1. Create a new conda env
conda create -n de_stijl python==3.8
conda activate de_stijl
  1. Install pytorch
pip install torch==1.8.2+cu111 torchvision==0.9.2+cu111 torchaudio==0.8.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
  1. Install other dependencies
pip install -e .
  1. Download checkpoints, config your path at ./src/de_stijl/backend/modules/options --ckpt_dir

  2. Run the interpolator

cd ./src/de_stijl/backend/modules
python interpolator.py --ckpt_dir YOUR/CHECKPOINTS/PATH

Run backend

python api.py 

Frontend Preparation

  1. Go to the front-end directory
cd De-Stijl-frontend/app
  1. Build node modules
npm install
(if failed, try: npm install --legacy-peer-deps)
  1. Run the frontend
npm start

Cite

@inproceedings{10.1145/3544548.3581070,
    author = {Shi, Xinyu and Zhou, Ziqi and Zhang, Jing Wen and Neshati, Ali and Tyagi, Anjul Kumar and Rossi, Ryan and Guo, Shunan and Du, Fan and Zhao, Jian},
    title = {De-Stijl: Facilitating Graphics Design with Interactive 2D Color Palette Recommendation},
    year = {2023},
    isbn = {9781450394215},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    url = {https://doi.org/10.1145/3544548.3581070},
    doi = {10.1145/3544548.3581070},
    articleno = {122},
    numpages = {19},
    location = {Hamburg, Germany},
    series = {CHI '23}
}

If you have any questions regarding this project, feel free to contact x98shi@uwaterloo.ca

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published