无言以对 发表于 2025-1-4 10:35:54

ColorFlow - 清华联合腾讯开源,自动给黑白照片、漫画上色,保持角色一致性模型 本地一键整合包下载



ColorFlow 是腾讯ARC实验室联合清华大学开源的一款上色模型,用户只需上传多张参考图,即可为灰度图或线稿完成上色。这个模型最大的亮点在于能够保持角色颜色的一致性,生成的颜色更接近参考图像。

在对比实验中,ColorFlow 在多项指标上超越了现有的先进模型,展现了更高的美学质量,其生成的颜色更贴近原始图像。研究团队展示了 ColorFlow 在不同艺术场景中的应用效果,包括黑白漫画、线条艺术、真实世界照片及卡通故事板等,均取得了令人满意的成果。


应用领域:
该模型特别适用于漫画、动画制作等工业应用,能够通过参考图像池为黑白图像序列准确生成颜色,确保角色的发色和服装等细节与参考图像一致‌



使用教程:(建议N卡,显存8G起)
选择输入样式:灰度图(ScreenStyle)、线稿+阴影(Sketch_Shading)、线稿(Sketch)。
上传您的图像:使用“上传”按钮选择要上色的图像。
预处理图像:点击“预处理(脱色)”按钮以去色图像。
上传参考图像:上传多张参考图像以指导上色。
设置采样参数(可选):调整设置并点击 “上色” 按钮。


如遇报错
ImportError: cannot import name 'AutoencoderKL' from 'diffusers' (unknown location)

下载此补丁 http://4275.com/4cmxg4 ,放到一键包目录下,双击执行,等待结束。

下载地址:
迅雷云盘:https://pan.xunlei.com/s/VOFjfUIXBUXnUMN-eVI18nvNA1?pwd=gn2n
夸克网盘:**** 本内容需购买 ****
百度网盘:**** 本内容需购买 ****

解压密码:https://deepface.cc/

nsctt 发表于 2025-1-4 16:21:34

这个可以有,谢谢分享

haidai 发表于 2025-1-5 14:49:18

F:\aigc\deepface\ColorFlow\ColorFlow\deepface\lib\site-packages\torchvision\datapoints\__init__.py:12: UserWarning: The torchvision.datapoints and torchvision.transforms.v2 namespaces are still Beta. While we do not expect major breaking changes, some APIs may still change according to user feedback. Please submit any feedback you may have in this issue: https://github.com/pytorch/vision/issues/6753, and you can also check out https://github.com/pytorch/vision/issues/7319 to learn more about the APIs that we suspect might involve future changes. You can silence this warning by calling torchvision.disable_beta_transforms_warning().
warnings.warn(_BETA_TRANSFORMS_WARNING)
F:\aigc\deepface\ColorFlow\ColorFlow\deepface\lib\site-packages\torchvision\transforms\v2\__init__.py:54: UserWarning: The torchvision.datapoints and torchvision.transforms.v2 namespaces are still Beta. While we do not expect major breaking changes, some APIs may still change according to user feedback. Please submit any feedback you may have in this issue: https://github.com/pytorch/vision/issues/6753, and you can also check out https://github.com/pytorch/vision/issues/7319 to learn more about the APIs that we suspect might involve future changes. You can silence this warning by calling torchvision.disable_beta_transforms_warning().
warnings.warn(_BETA_TRANSFORMS_WARNING)
Traceback (most recent call last):
File "<frozen __main__>", line 3, in <module>
File "<frozen app>", line 47, in <module>
ImportError: cannot import name 'AutoencoderKL' from 'diffusers' (unknown location)
请按任意键继续. . .
报错 如何解决呢

jay118 发表于 2025-1-6 02:50:10

haidai 发表于 2025-1-5 14:49
F:\aigc\deepface\ColorFlow\ColorFlow\deepface\lib\site-packages\torchvision\datapoints\__init__.py:1 ...

一样啊咋整

haidai 发表于 2025-1-6 19:25:12

jay118 发表于 2025-1-6 02:50
一样啊咋整

等领导消息

jay118 发表于 2025-1-7 23:29:00

haidai 发表于 2025-1-6 19:25
等领导消息

{:2_39:}{:2_39:}{:2_39:}

无言以对 发表于 2025-1-9 10:38:24

haidai 发表于 2025-1-5 14:49
F:\aigc\deepface\ColorFlow\ColorFlow\deepface\lib\site-packages\torchvision\datapoints\__init__.py:1 ...

什么显卡,我找张测试下

haidai 发表于 2025-1-9 13:14:44

无言以对 发表于 2025-1-9 10:38
什么显卡,我找张测试下

rtx 3060   12G

a8564111 发表于 2025-1-9 13:32:29

启动不了
Traceback (most recent call last):
File "<frozen __main__>", line 3, in <module>
File "<frozen app>", line 47, in <module>
ImportError: cannot import name 'AutoencoderKL' from 'diffusers' (unknown location)
请按任意键继续. . .

jay118 发表于 2025-1-9 19:56:28

无言以对 发表于 2025-1-9 10:38
什么显卡,我找张测试下

4060Ti   8G
页: [1] 2
查看完整版本: ColorFlow - 清华联合腾讯开源,自动给黑白照片、漫画上色,保持角色一致性模型 本地一键整合包下载