Trying to rename model - Not enough values to unpack...??
Expected behavior
Model should be renamed.
Actual behavior
Enter the name of the model you want to rename : new new Enter new name of the model : ismay ismay Error: not enough values to unpack (expected 2, got 1) Traceback (most recent call last): File "D:\DeepFaceLab_01_04_21_internal\DeepFaceLab\mainscripts\Trainer.py", line 58, in trainerThread debug=debug, File "D:\DeepFaceLab_01_04_21_internal\DeepFaceLab\models\ModelBase.py", line 109, in init model_filename, remain_filename = filepath_name.split('_', 1) ValueError: not enough values to unpack (expected 2, got 1)
Steps to reproduce
Run train SAEHD and choose to rename the model. Enter the name of the model you want to rename, then a new name, and hit enter.
Other relevant information
- Windows 10
- DFL v01_04_2021
I have already been working with and renamed a variety of other models using the current build, so I'm not sure what triggered this, but since it started I can't get it to stop. I've rebooted 3 times. ;)
EDIT: I just tried renaming from the merge SAEHD instead of train SAEHD, and it's working fine from there. Again, it worked fine from the train app before, too, so I'm really not sure what could have happened to cause this...??
EDIT 2: Now I can't rename from either merge or train, and I'm having this same problem on two different computers. Everything else is working just fine.
EDIT 3: In every case, I have eventually been able to rename the model. I don't know why I can't at some times and I can at others, but if I keep trying it eventually works. Seems like after it trains awhile it'll eventually let me rename.
I have a same issue, and in my case I have duplicated project folders from one projects and every project worked fine before. Suddenly one of my projects failed to rename the model "new", but other can.
There is no differences among projects and I already deleted my "new" model and replace it another one, and Nothing is changed. Both of train & merge are failed, and I have no idea for fixing it.
I'm doing my job in Kubenetes cluster, which is Ubuntu 18.04 LTS, and the project is based on DeepFaceLab_Linux
In the folder where the model is stored, each file name needs to contain at least one underline symbol("_"), Or you can choose to modify the python code to solve this problem.
I also had this problem, I hope this information will help anyone. After many test I've found out that in my model folder I've created a folder to temporary move files in and out sometimes, It seems like you should not have a folder in "model" folder only models.
Issue solved / already answered (or it seems like user error), please close it.