ZHO-ZHO-ZHO / ComfyUI-BiRefNet-ZHO

Better version for BiRefNet in ComfyUI | Both img & video
GNU General Public License v3.0
234 stars 14 forks source link

'path_to_image' from 'utils' #20

Open Kimthanh27 opened 1 week ago

Kimthanh27 commented 1 week ago

File "D:\test\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' (D:\test\ComfyUI_windows_portable\ComfyUI\utils__init__.py)

tried : update comfy, update node, download model already, pull 1000800 times. still red. can you help me , thank you and xie xie merci beaucoup.

Kimthanh27 commented 1 week ago

thank you Andy.

cjc999 commented 1 week ago

Unable to load, prompt: from utils import check_download_model ImportError: cannot import name 'check_download_model' from 'utils' (D:\ComfyUI\utils__init__.py)

Pythonpa commented 6 days ago

The same +1

EasyComfyui commented 6 days ago

image 1.rename utils -> myutils

  1. open file dataset.py, line 10: from utils import path_to_image
  2. edit to: from myutils import path_to_image image
cuongloveit commented 6 days ago

image 1.rename utils -> myutils 2. open file dataset.py, line 10: from utils import path_to_image 3. edit to: from myutils import path_to_image image

tks. it's worked

Kimthanh27 commented 6 days ago

tư lương ngọc 10 điểm không có nhưng. ^^

liangmou825 commented 2 days ago

图像 1.重命名 utils -> myutils 2. 打开文件 dataset.py,第 10 行:from utils import path_to_image 3. 编辑为:from myutils import path_to_image 图像

Thank you for solving my problem