Traceback (most recent call last):
File "D:\lora-scripts\sd-scripts\flux_train_network.py", line 411, in
trainer.train(args)
File "D:\lora-scripts\sd-scripts\train_network.py", line 595, in train
t_enc.text_model.embeddings.requiresgrad(True)
^^^^^^^^^^^^^^^^
File "D:\lora-scripts\venv\Lib\site-packages\torch\nn\modules\module.py", line 1729, in getattr
raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")
AttributeError: 'T5EncoderModel' object has no attribute 'text_model'
23:02:43-951362 ERROR Training failed / 训练失败
Traceback (most recent call last): File "D:\lora-scripts\sd-scripts\flux_train_network.py", line 411, in
trainer.train(args)
File "D:\lora-scripts\sd-scripts\train_network.py", line 595, in train
t_enc.text_model.embeddings.requiresgrad(True)
^^^^^^^^^^^^^^^^
File "D:\lora-scripts\venv\Lib\site-packages\torch\nn\modules\module.py", line 1729, in getattr
raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")
AttributeError: 'T5EncoderModel' object has no attribute 'text_model'
23:02:43-951362 ERROR Training failed / 训练失败