#!/usr/bin/env python3 | |
from transformers import CLIPTextModel | |
model = CLIPTextModel.from_pretrained("./text_encoder") | |
model.save_pretrained("./text_encoder", variant="no_ema") | |
#!/usr/bin/env python3 | |
from transformers import CLIPTextModel | |
model = CLIPTextModel.from_pretrained("./text_encoder") | |
model.save_pretrained("./text_encoder", variant="no_ema") | |