chflame163 / ComfyUI_LayerStyle

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

部分功能可用,但在使用RMbgUltraV2时爆红 更新transforms无效 #55

Closed lancje closed 3 months ago

lancje commented 3 months ago

cannot import name 'VitMatteImageProcessor' from 'transformers' (F:\sd-webui-aki\ComfyUI-aki-v1\python\lib\site-packages\transformers__init__.py) 根据文档使用repair_dependency.bat更新无效,查看文档后需要transformers==4.38.2 提示为系统找不到指定的路径。 故手动使用pip更新到版本Version: 4.39.1, 但仍然如此。 本人使用的是秋叶整合包,本身带的python,事实上更新前也是4.39版本,故本身版本问题应该排除。

lancje commented 3 months ago

补充,使用PyMatting可以顺利使用

cyandddd commented 3 months ago

怎么使用pymatting

cyandddd commented 3 months ago

我甚至没法更新transformers 我现在是4.30.2

(venv) C:\Users\moloc>pip install upgrade transformers ERROR: Could not find a version that satisfies the requirement upgrade (from versions: none) ERROR: No matching distribution found for upgrade

lancje commented 3 months ago

我甚至没法更新transformers 我现在是4.30.2

(venv) C:\Users\moloc>pip install upgrade transformers ERROR: Could not find a version that satisfies the requirement upgrade (from versions: none) ERROR: No matching distribution found for upgrade

https://blog.csdn.net/Lily_clh/article/details/136584922看看这个网站

chflame163 commented 3 months ago

本人使用的是秋叶整合包,本身带的python,事实上更新前也是4.39版本,故本身版本问题应该排除。

请确认修复的是秋叶整合包内自带的运行环境。我上传了repair_dependency_aki.bat用于秋叶包的依赖修复。

lancje commented 3 months ago

本人使用的是秋叶整合包,本身带的python,事实上更新前也是4.39版本,故本身版本问题应该排除。

请确认修复的是秋叶整合包内自带的运行环境。我上传了repair_dependency_aki.bat用于秋叶包的依赖修复。

感谢帮助,经过测试已经可以使用VitMatte模式了