-
Notifications
You must be signed in to change notification settings - Fork 29
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
ValueError: only one element tensors can be converted to Python scalars #8
Comments
我找到了解决办法,我是在本地python-embed移动环境里面安装这个库python.exe -m pip install face-recognition |
我单独使用时没问题,但是放入其他工作流中使用,仍然有问题 |
When I set 'filter_best = 1' error |
I have this issute too..."only one element tensors can be converted to Python scalars" |
I need the full backtrace |
ohh sorry, I didn't want to jump into someone's else ticket.. FETCH DATA from: D:\programs\SD\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json
Prompt executed in 10.78 seconds I updated the custom node, comfyui, installed dlib (insightface works well), can't chose dlib though under the face analysis models Thanks. |
please check the latest version. I believe this is caused by an older numpy version, but the new code should work anyway |
Thanks for the quick reply Matteo I have the latest version I believe: numpy 1.26.4 (I updated it earlier today) - But now after reloading everything I get this message: Error occurred when executing FaceEmbedDistance: can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint64, uint32, uint16, uint8, and bool. File "D:\programs\SD\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute Thanks. |
you need to update this extension as well |
Wow I pulled something new...But I swear I did like 2 hours ago a pull...did you update it recently or am i tripping? I see you had 20 minutes ago an update, was it related to this issue? - ohh and its working for me - you need to win a noble price Matteo |
yes I just pushed an update. glad it finally works |
Awesome job Matteo - Thank you very much..<3 |
Also working! |
What is the reason for this, thank you for your help
The text was updated successfully, but these errors were encountered: