-
Notifications
You must be signed in to change notification settings - Fork 157
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
Error FaceDetailerPipe: Could not run torchvision::nms #405
Comments
Ok, this is what it spit out from the Git Bash:
I noticed this warning when loading ComfyUI
I'm still getting the same error. I checked my CUDA version:
Do I need to update? |
Try uninstall torch, torchvision, .... and reinstall. |
No.. Not that install... Get install command from here. |
From the page https://pytorch.org/get-started/locally/ it gave me this command: I noticed there was an error with my opencv-python version being incompatible with ultralytics. I tried updating opencv-python with this command I then uninstalled and installed ultralytics using the commands:
I'm still getting the same exact error in ComfyUI from when I started, I even doublechecked the error with a text comparison. |
For some reason, there seems to be a mismatch between the versions of your Torch-related packages. Also, I just noticed that you are running the portable version in To minimize side effects, it is recommended to run it from the cmd, and due to the unreliable current installation status, it is suggested to perform a clean install of the portable version and test it with only the Impact Pack installed. |
Ok, so I did a reinstall of ComfyUI Portable, and installed just the Impact pack, and it's working now! If I understand correctly, you are suggesting I run the pip update commands in Window's default cmd window instead of the Git Bash window? I'm going to go ahead and incrementally install my previous install's custom nodes and check for compatibility. I really appreciate you taking the time to address my issues. I'm an artist/3D animator, so there's a lot of fundamental knowledge of python environments that I'm not aware of, and I'm grateful for your patience. |
I ran into this while setting up a new Comfyui environment (I'm using anaconda to manage envs). I noticed that torchvision.__version__ was returning a CPU version, even though I had installed torch dependencies (including torchvision) using the ComfyUI's repo's recommed |
Does this conflict still exist? Seems like plenty of time to get things worked out. I'm getting the error now and have both installed. |
This is a user configuration issue. It occurs whenever the user installs packages incorrectly during the initial installation of ComfyUI. |
Trying to run a basic face detailer workflow, but getting a torchvision error. Here's the workflow:
![231228-facedetailer_test-01](https://private-user-images.githubusercontent.com/135537138/293276815-66287044-4dc0-4927-b98e-69ae806fd32f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODkxODcsIm5iZiI6MTcyNDc4ODg4NywicGF0aCI6Ii8xMzU1MzcxMzgvMjkzMjc2ODE1LTY2Mjg3MDQ0LTRkYzAtNDkyNy1iOThlLTY5YWU4MDZmZDMyZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QyMDAxMjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xZjFhZDE5ZWZjNTcwMGUzNGJkYWI4MDM2MGU0MDM2ZjU0OWM5NDhmMmU0NTQxYmMzMWVhYzc4NmZkMDgyOGEyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.7_RDRvSr-8ZFbVOjTJvlpkk93dd3Qg3jkM9V1qYY1b8)
And here's the error:
I checked my pytorch version, and it's 0.14.0+cpu. Did a bunch of searching online, but not sure what to try next.
The text was updated successfully, but these errors were encountered: