-
Notifications
You must be signed in to change notification settings - Fork 23
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
更新到最新的Comfy-UI后出现下面报错,无法import #19
Comments
Traceback (most recent call last): |
rollback previous version of comfyui maybe fix this issue ! |
Traceback (most recent call last):
File "F:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "F:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet-ZHO_init.py", line 1, in
from . import birefnet
File "F:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet-ZHO\birefnet.py", line 7, in
from models.baseline import BiRefNet
File "F:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet-ZHO\models\baseline.py", line 16, in
from models.refinement.refiner import Refiner, RefinerPVTInChannels4, RefUNet
File "F:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet-ZHO\models\refinement\refiner.py", line 11, in
from dataset import class_labels_TR_sorted
File "F:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet-ZHO\dataset.py", line 10, in
from utils import path_to_image
ImportError: cannot import name 'path_to_image' from 'utils' (F:\ComfyUI\ComfyUI_windows_portable\ComfyUI\utils_init_.py)
Cannot import F:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet-ZHO module for custom nodes: cannot import name 'path_to_image' from 'utils' (F:\ComfyUI\ComfyUI_windows_portable\ComfyUI\utils_init_.py)
The text was updated successfully, but these errors were encountered: