Fannovel16/comfy_controlnet_preprocessors

pidinet_v1 in install

Ishino opened this issue ยท 3 comments

From the last commit, the pidinet_v1 model has been removed, but it's still in the install.py code and this brakes the install. Was the removal intentionally?

Thanks

if anyone is stuck then comment out + remove pidinet_v1 from the import statement

--- a/install.py
+++ b/install.py
@@ -28,7 +28,7 @@ def download_models():
     openpose_v1.OpenposeDetector()
     uniformer.UniformerDetector()
     leres.download_model_if_not_existed()
-    pidinet_v1.download_if_not_existed()
+    # pidinet_v1.download_if_not_existed()
     zoe.ZoeDetector()
     normalbae.NormalBaeDetector()
     hed_v11.ControlNetHED_Apache2()
@@ -47,7 +47,7 @@ if args.no_download_ckpts: exit()
 add_global_shortcut_module("cli_args", os.path.join(EXT_PATH, "../../comfy/cli_args.py"))    
 add_global_shortcut_module("model_management", os.path.join(EXT_PATH, "../../comfy/model_management.py"))
 add_global_shortcut_module(this_module_name, os.path.join(EXT_PATH, "__init__.py"))
-from comfy_controlnet_preprocessors.v1 import canny, hed_v1, midas, mlsd, openpose_v1, uniformer, leres, pidinet_v1
+from comfy_controlnet_preprocessors.v1 import canny, hed_v1, midas, mlsd, openpose_v1, uniformer, leres
 from comfy_controlnet_preprocessors.v11 import zoe, normalbae, hed_v11, pidinet_v11
 print("Download models...")
 sleep(2)

I forgot to edit it to pidinet_v11 ๐Ÿ˜…

I forgot to remove that line in install.py. My bad. Fixed at fb0ef7f