Skip to content
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

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

Open
RaySteve312 opened this issue Jun 10, 2024 · 4 comments

Comments

@RaySteve312
Copy link

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

@chflame163
Copy link
Owner

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

@RaySteve312
Copy link
Author

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

@chflame163
Copy link
Owner

这是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
Copy link
Author

解决了,谢谢大佬!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants