Diffusers
Safetensors
JuniorDerp commited on
Commit
5668693
·
verified ·
1 Parent(s): 28d43e9

Update README.md

Browse files

Fix a mistake in a comment in the example usage code

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -29,7 +29,7 @@ untransform_image = transforms.Compose([
29
  model = AutoencoderKL.from_pretrained("scrumptious/librevae-f8-d8").to("cuda").eval()
30
  model.requires_grad_(False)
31
 
32
- # For a 512x512 image, image_tensor will be (1, 8, 64, 64)
33
  image_tensor = transform_image(Image.open("sample.png")).unsqueeze(0).to("cuda")
34
  # latent will be (1, 8, 64, 64)
35
  # we multiply it by the scaling factor so it has an approximate mean of 0 and variance of 1
 
29
  model = AutoencoderKL.from_pretrained("scrumptious/librevae-f8-d8").to("cuda").eval()
30
  model.requires_grad_(False)
31
 
32
+ # For a 512x512 image, image_tensor will be (1, 3, 512, 512)
33
  image_tensor = transform_image(Image.open("sample.png")).unsqueeze(0).to("cuda")
34
  # latent will be (1, 8, 64, 64)
35
  # we multiply it by the scaling factor so it has an approximate mean of 0 and variance of 1