Skip to content

解决:每次启动都需要下载模型的问题 #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
benbenbaby09 opened this issue May 25, 2025 · 1 comment
Open

解决:每次启动都需要下载模型的问题 #61

benbenbaby09 opened this issue May 25, 2025 · 1 comment

Comments

@benbenbaby09
Copy link

Image 重启电脑后都会出现这种情况,下载模型文件(8G多)

解决:查阅了代码,https://huggingface.co/spaces/tencent/Hunyuan3D-2/blob/main/hy3dgen/shapegen/utils.py

Image

如果没有配置HY3DGEN_MODELS环境变量,则会获取~/.cache/hy3dgen目录下的模型,只需要找到你下载的保存目录,配置到环境变量即可
我的模型是放在这里了
Image
所有只需这么配置即可
Image

@YanWenKun
Copy link
Owner

感谢研究!我给更新加上这条环境变量

YanWenKun added a commit to YanWenKun/Hunyuan3D-2-WinPortable-Scripts that referenced this issue May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants