yolain / ComfyUI-Easy-Use

In order to make it easier to use the ComfyUI, I have made some optimizations and integrations to some commonly used nodes.
GNU General Public License v3.0
537 stars 34 forks source link

opus-mt-zh-en自动把embedding中文路径翻译了 #193

Open yincangshiwei opened 4 weeks ago

yincangshiwei commented 4 weeks ago

我的embedding是中文路径,更新版本后,反向提示词那里会自动调用opus-mt-zh-en把我路径自动翻译。

yolain commented 4 weeks ago

屏幕截图 2024-06-04 224356 默认有过滤embedding的呀,具体你路径是啥样。

yincangshiwei commented 3 weeks ago

屏幕截图 2024-06-04 224356 默认有过滤embedding的呀,具体你路径是啥样。

opus-mt-zh-en这个是下载到哪里的,我这边用梯子不方便。

yolain commented 3 weeks ago

屏幕截图 2024-06-04 224356 默认有过滤embedding的呀,具体你路径是啥样。

opus-mt-zh-en这个是下载到哪里的,我这边用梯子不方便。

默认是会下到 C:\Users\你的用户名.cache\huggingface\hub里 models--Helsinki-NLP--opus-mt-zh-en

yincangshiwei commented 3 weeks ago

屏幕截图 2024-06-04 224356 默认有过滤embedding的呀,具体你路径是啥样。

opus-mt-zh-en这个是下载到哪里的,我这边用梯子不方便。

默认是会下到 C:\Users\你的用户名.cache\huggingface\hub里 models--Helsinki-NLP--opus-mt-zh-en

很神奇,我下载到这个目录里了,用的是官方的huggingface_hub方式,但还是提示找不到模型,又从hf那里下载一次。 requests.exceptions.ConnectionError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /Helsinki-NLP/opus-mt-zh-en/resolve/main/model.safetensors (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76a48e5db0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

yincangshiwei commented 3 weeks ago

我去,是在这里也有个目录: image 不过没找到这个文件Helsinki-NLP/opus-mt-zh-en/resolve/main/model.safetensors

yolain commented 3 weeks ago

我去,是在这里也有个目录: image 不过没找到这个文件Helsinki-NLP/opus-mt-zh-en/resolve/main/model.safetensors

这个目录也能读得到,或者你从huggingface把模型下到这里面

yincangshiwei commented 3 weeks ago

我去,是在这里也有个目录: image 不过没找到这个文件Helsinki-NLP/opus-mt-zh-en/resolve/main/model.safetensors

这个目录也能读得到,或者你从huggingface把模型下到这里面

问题huggingface那里没有这个路径resolve/main/model.safetensors,model.safetensors这个文件也没有。 我国外那服务直接用.cache\huggingface\hub里的目录是可以的,我把国外的目录烤到国内服务也不行,很神奇。他非要读model/prompt_generator那里,国外那服务model里面是没有/prompt_generator的目录,也没问题。

bigmoon2023 commented 3 weeks ago

model.safetensors

https://huggingface.co/fengtc/opus-mt-zh-en/tree/refs%2Fpr%2F1 那个文件在这里下。

不过我的问题是用绘世启动器启动安装这个文件夹就失败了,用hug的文件树直接自己下貌似也没法解决问题。