AttributeError: 'CLIPTokenizerFast' object has no attribute 'added_tokens_encoder'

#5
by Carti99 - opened

import torch
from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained("Bingsu/my-korean-stable-diffusion-v1-5")

pipe.to("cuda")
prompt = "cat"
seed = 46399
generator = torch.Generator("cuda").manual_seed(seed)
pipe(prompt, num_inference_steps=25, generator=generator).images[0]

λͺ¨λΈ μΉ΄λ“œμ— μžˆλŠ” μ½”λ“œ κ·ΈλŒ€λ‘œ ν–ˆλŠ”λ° 싀행이 μ•ˆλ©λ‹ˆλ‹€. λ‹€λ₯Έ ν™˜κ²½μ—μ„œλ„ 해봐도 λ˜‘κ°™μ€ μ—λŸ¬κ°€ λ°œμƒν•©λ‹ˆλ‹€.

Sign up or log in to comment