Skip to content

Commit 23e43de

Browse files
committed
address #40
1 parent b3c3fce commit 23e43de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

train_latent_only.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from datasets import load_dataset
2121
from diffusers.models import AutoencoderKL
2222

23-
vae = AutoencoderKL.from_pretrained("CompVis/stable-diffusion-v1-4", subfolder = "vae")
23+
vae = AutoencoderKL.from_pretrained("./path/to/your/autoencoder", subfolder = "vae")
2424

2525
class Encoder(Module):
2626
def __init__(self, vae):

train_latent_with_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from datasets import load_dataset
2121
from diffusers.models import AutoencoderKL
2222

23-
vae = AutoencoderKL.from_pretrained("CompVis/stable-diffusion-v1-4", subfolder = "vae")
23+
vae = AutoencoderKL.from_pretrained("./path/to/your/autoencoder", subfolder = "vae")
2424

2525
class Encoder(Module):
2626
def __init__(self, vae):

0 commit comments

Comments
 (0)