Open monkeycc opened 10 months ago
我在本地没成功生成过,不知道模型缺少哪些,抱脸的模型缓存位置里看不出来
You can also choose to download manually from this url.
And then replace the following lines:
from huggingface_hub import hf_hub_download
photomaker_path = hf_hub_download(repo_id="TencentARC/PhotoMaker", filename="photomaker-v1.bin", repo_type="model")
to
photomaker_path = '/path/to/photomaker-v1.bin' # download path actually
huggingface.co 你们大厂有VPN 好访问
我们访问不上 现在翻墙多费劲...
程序在本地运行时会从抱脸网站下载的文件不可能只有这一个,还是说程序每次启动都需要连接抱脸网站? This is not the only file that the program downloads locally from huggingface sites, or does it need to connect to huggingface sites every time it starts?
@Paper99
谢谢
还有 "SG161222/RealVisXL_V3.0"
https://github.com/TencentARC/PhotoMaker/issues/64
只要有访问huggingface的 肯定访问不上的
@monkeycc https://hf-mirror.com/ 可以考虑镜像站
把所有模型都统一放到百度网盘
比如模型都放 release_model 文件夹
用户下载到源码根目录 就能用了