IOPaint icon indicating copy to clipboard operation
IOPaint copied to clipboard

win_start.bat (cannot start)glitching,The desktop program could not be started

Open guocuixia opened this issue 2 years ago • 7 comments

Lama Cleaner One Click Installer----win_config.bat(successfully set) ----win_start.bat (cannot start) 。The desktop program could not be started

guocuixia avatar Jan 11 '23 10:01 guocuixia

1

guocuixia avatar Jan 11 '23 10:01 guocuixia

Something went wrong in the model downloading process, please delete model and run win_start.bat again. If you are in China a VPN proxy might be helpful for downloading process

Sanster avatar Jan 11 '23 11:01 Sanster

Need a faster vpn download, thanks.

guocuixia avatar Jan 15 '23 01:01 guocuixia

I want to change the directory where the model is stored, but I don't know how to correctly add the parameters to the command line

guocuixia avatar Jan 15 '23 01:01 guocuixia

c.run( f"lama-cleaner --model-dir: 请问是在这个位置直接插入路径吗 {model} --device {device} --port {port} --gui --gui-size 1400 900 --sd-cpu-textencoder" )

guocuixia avatar Jan 15 '23 01:01 guocuixia

是的(漏了个 --model),先要升级到 0.32.0(执行 win_config.bat)

c.run(
    f"lama-cleaner --model-dir xxxxx --model {model} --device {device} --port {port} --gui --gui-size 1400 900 --sd-cpu-textencoder"
)

Sanster avatar Jan 15 '23 01:01 Sanster

我把.cache目录下的文件夹转移到D:\003\lama-cleaner\moxing里然后插入路径 启动闪退 是哪里出错了呢

   if desktop:
       c.run(
           f"lama-cleaner --model-dir D:\003\lama-cleaner\moxing --model {model} --device {device} --port {port} --gui --gui-size 1400 900 --sd-cpu-textencoder"
       )
   else:
       c.run(
           f"lama-cleaner --model {model} --device {device} --port {port}"
       )

guocuixia avatar Jan 15 '23 12:01 guocuixia

https://lama-cleaner-docs.vercel.app/install/windows_1click_installer

Sanster avatar Jan 25 '23 13:01 Sanster