项目地址
🤔 疑难解答
1.utils3d安装失败,大概表现为网络错误,clone项目失败,我手动clone安装后,该项目依然无法跳过utils3d的安装,pip list显示是安装成功的,很奇怪,错误代码大致如下
Executing pip install command: "F:\work\AI\trellis-spz\code\venv\Scripts\python.exe" -m pip install --no-cache-dir --isolated "git+https://github.com/EasternJournalist/utils3d.git@9a4eb15e4021b67b12c460c7057d642626897ec8" --verbose
Using pip 24.3.1 from F:\work\AI\trellis-spz\code\venv\Lib\site-packages\pip (python 3.11)
Looking in indexes: [https://mirrors.aliyun.com/pypi/simple](https://mirrors.aliyun.com/pypi/simple)
Collecting git+https://github.com/EasternJournalist/utils3d.git@9a4eb15e4021b67b12c460c7057d642626897ec8
Cloning [https://github.com/EasternJournalist/utils3d.git](https://github.com/EasternJournalist/utils3d.git) (to revision 9a4eb15e4021b67b12c460c7057d642626897ec8) to f:\缓存\temp\pip-req-build-uznjxzpm
解决: 打开/code/install.py
修改第230行 为
('pip install "git+https://gitclone.com/github.com/EasternJournalist/utils3d.git"', 'Installing utils3d'),
2.huggingface.co 无法访问
解决:首先前面的自动化安装已经添加了python库huggingface_hub,所以我们引用就好了
查看自动化程序文件run-gradio.bat,发现执行的是/code/gradio_main.py文件,所以在这个文件头部添加 os.environ['HF_ENDPOINT'] = '[https://hf-mirror.com](https://hf-mirror.com/)'
3.no module named triton
解决:方案来自https://github.com/IgorAherne/trellis-stable-projectorz/issues/24
首先检查你install.py文件中是PORTABLE_GIT_BASE = os.path.join(os.path.dirname(__file__), "..", "system", "git")
还是PORTABLE_GIT_BASE = os.path.join(os.path.dirname(__file__), "..","tools","git")
tools是对的
然后修改这一段
wheel_files = {
"nvdiffrast": "whl/nvdiffrast-0.3.3-cp311-cp311-win_amd64.whl",
"diffoctreerast": "whl/diffoctreerast-0.0.0-cp311-cp311-win_amd64.whl",
"diff_gaussian": "whl/diff_gaussian_rasterization-0.0.0-cp311-cp311-win_amd64.whl",
"triton":"whl/triton-3.0.0-cp311-cp311-win_amd64.whl"
}
访问https://github.com/woct0rdho/triton-windows/releases/tag/v3.1.0-windows.post5 下载对应python版本的包,放到/code/whl
手动安装whl文件
4.winrror 10055错误 系统缺少足够的缓冲区空间或队列已满,无法执行套接字上的操作
https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/connect-tcp-greater-than-5000-error-wsaenobufs-10055
解决:按照官方的说法,此报错主要是因为默认端口数量太少,而此项目UI端口默认是7680,你可以重启电脑(这是临时的,随着系统运行端口数量会被占用)或者修改注册表
致谢:
💡 欢迎您在底部评论区留言,一起交流~

微信公众号 - 六六姐的小喇叭
CG交流Q群 - 369748859
游戏群 - 485939898
学习途中的一些随笔,
希望对大家有用
💖😎😉🤣😘💕