Code Ref
- sampling animation
- speed up sampling time
- conditional sampling
# setup pytorch enviornment
# install library:
# pip install -r requirementx.txt
# train
python run.py --mode=trian
# sampling
python run.py --mode=sampling
# ddim sampling
python run.py --mode=ddim_sampling
# For more detail, see run.sh
Jupyter notebook code : here
50 Epoch DDPM
30 Epoch DDPM
10 Epoch DDPM
Hero
Non-Hero
Food
spell&weapons
Side Facing
DDPM : 2.939 sec (NVIDIA TITAN V)
DDIM : 0.981 sec (NVIDIA TITAN V)