#663·IOPaint

[BUG] 加载 'lama' 模型时出错: 在 Windows 上,使用非 ASCII 用户路径时找不到文件

作者: Leotheone创建于 2025年7月22日更新于 2025年7月22日
标签bug

Model lama

Describe the bug The application fails to load the lama model and crashes on startup. The console shows the following error: open file failed because of errno 2 on fopen: No such file or directory for the file path C:\Users\FrançoisGuias\.cache\torch\hub\checkpoints\big-lama.pt.

My Windows username is FrançoisGuias, which contains a non-ASCII character (ç). I believe the application is not correctly handling the Unicode path on Windows, which causes the file to not be found by the underlying JIT loader, even if it exists.

内容来源: Sanster/IOPaint