-
Notifications
You must be signed in to change notification settings - Fork 8
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
Import Failed #5
Comments
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement_init_.py", line 8, in Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement module for custom nodes: No module named 'torchvision.transforms.functional_tensor' (IMPORT FAILED): C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement |
After googling a bit, I found and took the advice from this link: After I did this, when ComfyUI was launched, several modules were downloaded and updated, and everything seemed to work. In fact, this is a rather complex and non-obvious solution to problems with installing only two nodes, so it would be great if the developer made corrections to his code. |
that worked thanks |
ME TO TRY change: from torchvision.transforms.functional_tensor import rgb_to_grayscale NOT HELP FOR ME |
Good morning,
I have been trying to install this extension, but it always gives me the Import failed error.
All other extensions are working fine, and I have inclusively installed all dependencies using requiremnts.txt
Anyone else got the same problem? Would appreciate some help!
@meap158
The text was updated successfully, but these errors were encountered: