Skip to content
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

Unable to open file at D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages/D:\ComfyUI_windows_portable\ComfyUI\models\Hallo\face_analysis\models\face_landmarker_v2_with_blendshapes.task, errno=22 #10

Open
guahunyo opened this issue Oct 22, 2024 · 15 comments

Comments

@guahunyo
Copy link

image
image

@smthemex
Copy link
Owner

Need to check the error message on the console
需要看控制台的报错信息

@guahunyo
Copy link
Author

Need to check the error message on the console 需要看控制台的报错信息

image

@smthemex
Copy link
Owner

check your mediapipe version ,in D:\ComfyUI_windows_portable\python_embeded open CMD,and fill in :
python -m pip show mediapipe
check your mediapipe >=0.10.11
or check your comfyUI/models/Hallo/face_analysis/models contain below models:
image

@guahunyo
Copy link
Author

check your mediapipe version ,in D:\ComfyUI_windows_portable\python_embeded open CMD,and fill in : python -m pip show mediapipe check your mediapipe >=0.10.11 or check your comfyUI/models/Hallo/face_analysis/models contain below models: image

image
image
是因为文件夹名字hallo区分大小写吗

@smthemex
Copy link
Owner

当然区分大小写,首次运行会新建文件夹

@guahunyo
Copy link
Author

Of course, it is case-sensitive. A new folder will be created when running for the first time.

image
还是不行 我是第一次运行前就把东西下好了的 有影响吗

@smthemex
Copy link
Owner

smthemex commented Oct 23, 2024

你的路径有点奇怪啊,怎么会有2个D盘在里面
D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages/D:\ComfyUI_windows_portable\ComfyUI\models\Hallo\face_analysis\models\face_landmarker_v2_with_blendshapes.tas
按理是要打开D:\ComfyUI_windows_portable\ComfyUI\models\Hallo\face_analysis\models\face_landmarker_v2_with_blendshapes.task,你这个前面怎么会有条路径
感觉是某个插件做了路径的全局变量,我改一下其中一个变量,迟点你更新试试

@guahunyo
Copy link
Author

你的路径有点奇怪啊,怎么会有2个D盘在里面 D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages/D:\ComfyUI_windows_portable\ComfyUI\models\Hallo\face_analysis\models\face_landmarker_v2_with_blendshapes.tas 按理是要打开D:\ComfyUI_windows_portable\ComfyUI\models\Hallo\face_analysis\models\face_landmarker_v2_with_blendshapes.task,你这个前面怎么会有条路径 感觉是某个插件做了路径的全局变量,我改一下其中一个变量,迟点你更新试试

好的 谢谢哥

@smthemex
Copy link
Owner

你试试刚更新的,我把task改成了相对路径

@guahunyo
Copy link
Author

Try the newly updated one. I changed the task to a relative path.

哥 我试了 还是一样的问题

@guahunyo
Copy link
Author

你试试刚更新的,我把task改成了相对路径

image
我换了一个python环境 前面还是多一截那个环境的依赖文件夹的路径

@smthemex
Copy link
Owner

python -m pip uninstall mediapipe
python -m pip install mediapipe
重新安装下这个包试试,我在不同环境下试过,好像都没有你这样的问题

@keno-log
Copy link

我更新了节点,结果报错
RuntimeError: Unable to open file at E:\ComfyUI_240819\models\Hallo\face_analysis\models\face_landmarker_v2_with_blendshapes.task
路径里少了一段ComfyUI
我的模型路径是E:\ComfyUI_240819\ComfyUI\models

@keno-log
Copy link

我更新了节点,结果报错 RuntimeError: Unable to open file at E:\ComfyUI_240819\models\Hallo\face_analysis\models\face_landmarker_v2_with_blendshapes.task 路径里少了一段ComfyUI 我的模型路径是E:\ComfyUI_240819\ComfyUI\models

把相对路径注释掉用你原来的路径,就不会报错了。
task_model_path=os.path.join(weigths_face_analysis_path,"face_landmarker_v2_with_blendshapes.task")

@smthemex
Copy link
Owner

看来还得改回去,不然别人用了会报错。

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

3 participants