|
发表于 2024-5-4 11:53:55
|
显示全部楼层
大神您好, 我使用2.4版訓練xseg遮罩時 , 無論是沿用舊模型或重新訓練新模型 , 在訓練完儲存模型時都會出現
以下錯誤代碼 , 導致無法順利儲存 . 望大神能幫忙排除疑難 , 感恩
=======================================================
Error: 'cp950' codec can't encode character '\u5904' in position 65: illegal multibyte sequence
Traceback (most recent call last):
File "G:\DFL-MVE-SN-2.4.0\_internal\DeepFaceLab_old\mainscripts\Trainer.py", line 161, in trainerThread
model_save()
File "G:\DFL-MVE-SN-2.4.0\_internal\DeepFaceLab_old\mainscripts\Trainer.py", line 68, in model_save
model.save()
File "G:\DFL-MVE-SN-2.4.0\_internal\DeepFaceLab_old\models\ModelBase.py", line 427, in save
Path( self.get_summary_path() ).write_text( self.get_summary_text() )
File "G:\DFL-MVE-SN-2.4.0\_internal\python-3.9.18\lib\pathlib.py", line 1286, in write_text
return f.write(data)
UnicodeEncodeError: 'cp950' codec can't encode character '\u5904' in position 65: illegal multibyte sequence
=================================================== |
|