Skip to content

DualSmoke: Sketch-Based Smoke Illustration Design withTwo-Stage Generative Model

Notifications You must be signed in to change notification settings

shasph/DualSmoke

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DualSmoke: Sketch-Based Smoke Illustration Design withTwo-Stage Generative Model (under submission)

This is the source code of paper, DualSmoke:Sketch-Based Smoke Illustration Design withTwo-Stage Generative Model. image

preparation

  1. install mantaflow
sudo apt-get install cmake g++ git python3-dev qt5-qmake qt5-default
  1. commands for mantaflow
(cd Sketch2Smoke/mantaflow)
mkdir build
cd build
cmake .. -DGUI=ON -DNUMPY=ON
make -j4

OPENMP can be used for high-performance, TBB to be valided.

  1. move /build to Sketch2Smoke/scripts/client
(cd Sketch2Smoke)
mv mantaflow/build scripts/client/

run pre-trained model

  1. install cuda for pytorch

  2. install flask

python3 -m pip install flask

run tips

  1. open terminal in Sketch2Smoke/scripts/server/pi2pix with following command
python3 app.py
  1. open terminal in Sketch2Smoke/scripts/client with following command
python3 exe.py

pre-trained model

  • Sketch2LCS : Sketch2Smoke/scripts/server/pix2pix/checkpoints/skeleton2lcs/latest_net_G.pth
  • LCS2Vel : Sketch2Smoke/scripts/server/pix2pix/checkpoints/lcs2vel_pix2pix/latest_net_G.pth

About

DualSmoke: Sketch-Based Smoke Illustration Design withTwo-Stage Generative Model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.9%
  • Other 2.1%