chflame163 / ComfyUI_LayerStyle

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
MIT License
1.24k stars 68 forks source link

"context has already been set".生成水印的节点( AddBlindWaterMark)报错 #122

Open RaySteve312 opened 3 months ago

RaySteve312 commented 3 months ago

"context has already been set".生成水印的节点( AddBlindWaterMark)报错

chflame163 commented 3 months ago

请提供更多信息找到错误的原因

RaySteve312 commented 3 months ago

屏幕截图(112) 添加水印的时候,会弹出这个窗口

chflame163 commented 3 months ago

这是blind-watermark的问题,它在windows下工作得很好,但是在linux下有这样的bug。 你可以手动修复这个问题: 打开/root/ComfyUI/venv/lib/python3.10/site-packages/blind_watermark/pool.py 把第6行改为

multiprocessing.set_start_method('fork', force=True)
RaySteve312 commented 3 months ago

解决了,谢谢大佬!

大佬,VITMatte模型昨晚开始一直不能用,一用就重启