Hi!
I want to change
text_encoder = CLIPTextModel.from_pretrained(args.pretrained_model_name_or_path, subfolder=“text_encoder”, revision=args.revision) in text_to_image.py 464 line to torch.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.
what can i do?Thx