mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
[tank][v-diffusion] Polish up v-diffusion UX (#315)
This commit is contained in:
4
tank/pytorch/v_diffusion_pytorch/.gitignore
vendored
Normal file
4
tank/pytorch/v_diffusion_pytorch/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
*.png
|
||||
*.pth
|
||||
checkpoints/
|
||||
v-diffusion-pytorch/
|
||||
0
tank/pytorch/v_diffusion_pytorch/cfg_sample_preprocess.py
Normal file → Executable file
0
tank/pytorch/v_diffusion_pytorch/cfg_sample_preprocess.py
Normal file → Executable file
3
tank/pytorch/v_diffusion_pytorch/setup_v_diffusion_pytorch.sh
Normal file → Executable file
3
tank/pytorch/v_diffusion_pytorch/setup_v_diffusion_pytorch.sh
Normal file → Executable file
@@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
TD="$(cd $(dirname $0) && pwd)"
|
||||
if [ -z "$PYTHON" ]; then
|
||||
PYTHON="$(which python3)"
|
||||
@@ -22,3 +24,4 @@ mkdir checkpoints
|
||||
wget https://the-eye.eu/public/AI/models/v-diffusion/cc12m_1_cfg.pth -P checkpoints/
|
||||
|
||||
cp -r checkpoints/ v-diffusion-pytorch/
|
||||
cp cc12m_1.py v-diffusion-pytorch/diffusion/models/.
|
||||
|
||||
Reference in New Issue
Block a user