Stable diffusion text_to_image.py discussion
Hi!I want to changetext_encoder = CLIPTextModel.from_pretrained(args.pretrained_model_name_or_path, subfolder=“text_encoder”, revision=args.revision)in text_to_image.py 464 line totorch.nn.Embedding(77, 768)I don’t want to use CLIP embedding because this dataset is very special.When i change this code, it ran this error.image1925×1142 273 KBimage1927×1095 320 KBwhat can i do?Thx
2023-05-22T18:19:07Z
hey@barry556652can you post a reproducible code snippet?