Closed XinPeiHou closed 1 week ago
What is the cause of this error?Thanks
It looks like the gui can't find the accelerate
executable, so it's using a blank for it.
The command line should be accelerate launch ......
and not launch .....
You may need to check if the file kohya_ss/venv/bin/accelerate
exists and has "execute" permission.
If it doesn't look right, try to uninstall that component by running ./venv/bin/pip uninstall accelerate
and then start the gui which should automatically reinstall it.
EDIT:
I'm looking again; you're using a conda environment instead of the usual venv?
If the uninstall command above didn't work, maybe this command will do instead: pip uninstall accelerate
It looks like the gui can't find the
accelerate
executable, so it's using a blank for it. The command line should beaccelerate launch ......
and notlaunch .....
You may need to check if the file
kohya_ss/venv/bin/accelerate
exists and has "execute" permission.If it doesn't look right, try to uninstall that component by running
./venv/bin/pip uninstall accelerate
and then start the gui which should automatically reinstall it.EDIT: I'm looking again; you're using a conda environment instead of the usual venv? If the uninstall command above didn't work, maybe this command will do instead:
pip uninstall accelerate
ok,Thanks, the issue solved after install accelerate