none.gif

Reol3456

Re:回 35楼(妄想队员A) 的帖子

引用
引用第37楼99367e17于2024-12-03 23:20发表的 回 35楼(妄想队员A) 的帖子 :
https://github.com/neverbiasu/ComfyUI-SAM2/issues/7#issuecomment-2269377403

作者说是torch和CUDA版本的问题,你换一下试试,我使用的是2.5.1+cu124


我也是这个问题,torch和CUDA版本怎么换成2.5.1+cu124,小白不会搞

456614.png

701a10e4

B63F  2024-12-11 14:13
(哈哈哈~)
图里如果有多个人是都可以去吗?

none.gif

Reol3456

Re:回 35楼(妄想队员A) 的帖子

引用
引用第37楼99367e17于2024-12-03 23:20发表的 回 35楼(妄想队员A) 的帖子 :
https://github.com/neverbiasu/ComfyUI-SAM2/issues/7#issuecomment-2269377403

作者说是torch和CUDA版本的问题,你换一下试试,我使用的是2.5.1+cu124


在秋叶启动器更新了torch和CUDA版本,但还是报错

GroundingDinoSAM2Segment (segment anything2)
No available kernel. Aborting execution


none.gif

DSAGASD

伟大

2020994.png

小鹦鹉昂比例

B66F  2024-12-11 22:15
(sikoiiii)

回 61楼(西北偏北) 的帖子

没遇到过,不太清楚你的情况,是从那一步开始不对的?试试多roll几次或者调整一下brushnet的开始步数

2020994.png

小鹦鹉昂比例

B67F  2024-12-11 22:16
(sikoiiii)

回 63楼(701a10e4) 的帖子

处理这方面比较弱,要多roll几次

2020994.png

小鹦鹉昂比例

B68F  2024-12-11 22:19
(sikoiiii)

回 64楼(Reol3456) 的帖子

https://github.com/neverbiasu/ComfyUI-SAM2/issues/13

bug 2: "RuntimeError: No available kernel. Aborting execution.":
I solved this issue by adding some lines after L22 in sam2\modeling\sam\transformer.py

USE_FLASH_ATTN = False
MATH_KERNEL_ON = True
OLD_GPU = True

楼主提到了这种修复方式,如果还不行试试重装这个插件,如果还不行我也没辙了

none.gif

9d1161cf

谢谢分享

none.gif

西北偏北

图片:
大佬,没有任何提示框,也不出图,只发现这有个红框,什么情况

none.gif

Reol3456

Re:回 64楼(Reol3456) 的帖子

引用
引用第68楼99367e17于2024-12-11 22:19发表的 回 64楼(Reol3456) 的帖子 :
https://github.com/neverbiasu/ComfyUI-SAM2/issues/13

bug 2: "RuntimeError: No available kernel. Aborting execution.":
I solved this issue by adding some lines after L22 in sam2\modeling\sam\transformer.py

.......



还是不行吐了

a12.gif

ZERO

Missing Node Types

When loading the graph, the following node types were not found
  BlendInpaint
    BrushNetLoader
    CutForInpaint
    BrushNet
  大佬然后我重装了很多次ComfyUI-BrushNet- 还是报错怎么办..

a15.gif

a10055

回 70楼(西北偏北) 的帖子

我好像也是这个问题,还有安装sam2就会报错,但能启动,放图片运行后就卡这了,控制台显示
warnings.warn(
For numpy array image, we assume (HxWxC) format
Computing image embeddings for the provided image...
Image embeddings computed.
scores:  [[    0.96283]]
For numpy array image, we assume (HxWxC) format
Computing image embeddings for the provided image...
Image embeddings computed.
scores:  [[    0.98416]
[    0.93886]]
For numpy array image, we assume (HxWxC) format
Computing image embeddings for the provided image...
Image embeddings computed.
scores:  [[    0.98406]]

Evaluate Integers:
{a = 240 , b = 255 , c = 49}
( (512 + (0 if c > 0 else c)) **2 / (a * b) ) ** 0.5 =  INT: 2 , FLOAT: 2.069637333643375, STRING: 2.069637333643375
Failed to find C:\ComfyUI-aki-v1.5\custom_nodes\comfyui_controlnet_aux\ckpts\yzd-v/DWPose\yolox_l.onnx.
Downloading from huggingface.co
cacher folder is C:\Users\kk\AppData\Local\Temp, you can change it by custom_tmp_path in config.yaml
C:\ComfyUI-aki-v1.5\python\lib\site-packages\huggingface_hub\file_download.py:834: UserWarning: `local_dir_use_symlinks` parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do not rely on symlinks anymore. You only need to pass a destination folder as`local_dir`.
For more details, check out https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder.
  warnings.warn(
[WinError 3] 系统找不到指定的路径。: 'C:\\Users\\kk\\AppData\\Local\\Temp\\ckpts'
model_path is C:\ComfyUI-aki-v1.5\.cache\sdwebuilauncher\hfmirror\refs\yzd-v\DWPose\main\yolox_l.onnx
Failed to find C:\ComfyUI-aki-v1.5\custom_nodes\comfyui_controlnet_aux\ckpts\hr16/DWPose-TorchScript-BatchSize5\dw-ll_ucoco_384_bs5.torchscript.pt.
Downloading from huggingface.co
cacher folder is C:\Users\kk\AppData\Local\Temp, you can change it by custom_tmp_path in config.yaml
[WinError 3] 系统找不到指定的路径。: 'C:\\Users\\kk\\AppData\\Local\\Temp\\ckpts'
好像是缺了文件。。 有解决方法了吗

a15.gif

a10055

回 70楼(西北偏北) 的帖子

我找到方法了,我的已经可以出图了
https://huggingface.co/yzd-v/DWPose/resolve/main/yolox_l.onnx?download=true
直接下个这个文件放到custom_nodes/comfyui_controlnet_aux/ckpts/yzd-v/DWPose/    这里面就行了

none.gif

sdbyzs001

楼主,这个报错一直没法解决KSampler Adv. (Efficient)
The size of tensor a (640) must match the size of tensor b (320) at non-singleton dimension 1

none.gif

77d08d4f

图片:

none.gif

8c566a55

回 61楼(西北偏北) 的帖子

兄弟这个咋解决的

none.gif

77d08d4f

图片:
安装不上呀这三个一直缺失

2020994.png

小鹦鹉昂比例

B79F  2024-12-17 18:09
(sikoiiii)

回 75楼(sdbyzs001) 的帖子

https://github.com/nullquant/ComfyUI-BrushNet/issues/136

使用绘世的话试试把使用激进提速策略关掉

https://github.com/nullquant/ComfyUI-BrushNet/issues/154

或者参照上面方法修改一下文件

2020994.png

小鹦鹉昂比例

B80F  2024-12-17 18:10
(sikoiiii)

回 76楼(77d08d4f) 的帖子


2020994.png

小鹦鹉昂比例

B81F  2024-12-17 18:14
(sikoiiii)

回 78楼(77d08d4f) 的帖子

把custom nodes文件夹里的SAM2删掉,设置一个代理,取消镜像,在绘世启动器里安装试试

2020994.png

小鹦鹉昂比例

B82F  2024-12-17 18:15
(sikoiiii)

回 73楼(a10055) 的帖子

这就加到帖子里

2020994.png

小鹦鹉昂比例

B83F  2024-12-17 18:17
(sikoiiii)

回 70楼(西北偏北) 的帖子

使用普通的control net加载器和应用,或者尝试更新一下advanced controlnet

273719.png

基の神

先下下来跑一下试试效果 显存居然还能优化 牛逼

none.gif

sdbyzs001

NB

none.gif

098c9f6a

学习一下

none.gif

77d08d4f

已解决。删

none.gif

77d08d4f

图片:
又出现新的情况了,SAM2好像安装成功了,但是读不过去

none.gif

七斩


8e2f1a9746e6762044b7a0c2ec74c8a9?s=150

mustlezoos

大佬这个模型非常不错微调一下很合适,这是效果图,左边是原图右边是处理的图,卧槽第一张图这相机位置让我觉得后面一张才是原图



5.gif

叶言则

成功了,非常感谢大佬
尽管有个叫"ComfyUI SAM2(Segment Anything 2)"的插件安装失败,每次启动都会再自动安装一次,并报出“程序异常退出,退出代码为1(0x00000001)”,但还是能运行
之前还出现了一次和34楼相同的问题,重启程序后就没再发生。
不过还是有个让我比较困扰的问题:不少照片处理后的胸都显著大于预期,我预期是B到C,结果全是E以上,请问大佬,这个能否控制?

815552.jpg

6b3ea75f

回 91楼(叶言则) 的帖子

我也是这样,哭了,大佬怎么解决 呢