There is train_text_encoder in utils/train_dreambooth_lora_inpaint.py. But it seems not work. Thank you!