-
Notifications
You must be signed in to change notification settings - Fork 66
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
LayerMask: PersonMaskUltra和LayerMask: PersonMaskUltra V2 #52
Comments
没用repair_dependency.bat修复之前也是这样吗?错误信息显示是文件权限问题不能打开,请查看你的protobuf依赖包版本 |
已经安装到了最新版本,protobuf==5.26.0 我用你的.bat安装试过不可以。我自己手动安装仍然不能成功运行。 |
I have the same error I install dependencies and the errors keep pop Error occurred when executing LayerMask: PersonMaskUltra V2: [Errno 13] Permission denied: 'K:\ComfyUI\ComfyUI\models\mediapipe\selfie_multiclass_256x256.tflite' File "K:\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute |
@liulsg Try this [ pip install protobuf==4.25.3 ] it will uninstall the current version and install this one work for me but dont fix the errors. |
Deleting the folder mediapipe and running the node will create a new one and download the model this fix the problem for me. |
经过测试,出现此问题的原因是:自动下载的模型锁了权限 After testing, the reason for this problem is: the automatically downloaded model locks permissions Solution: delete the mediapipe file, manually create the mediapipe file and download the model to the official website and put it in this folder (with protobuf version has little to do with it, I tested the upgrade version without problems), the following is the original URL solution and model download address. |
不过这个节点的判断逻辑应该还有优化的空间。 |
这是哪个节点,求链接 |
这个问题非常好解决,selfie_multiclass_256x256.tflite这个文件下载时生成了一个同名文件夹,把这个文件从文件夹里拿出来就OK了。 |
Error occurred when executing LayerMask: PersonMaskUltra V2: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like hustvl/vitmatte-small-composition-1k is not the path to a directory containing a file named config.json. |
|
Error occurred when executing LayerMask: SegmentAnythingUltra V2: ('Connection broken: IncompleteRead(149015986 bytes read, 175360628 more expected)', IncompleteRead(149015986 bytes read, 175360628 more expected)) File "D:\ai\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute |
Error occurred when executing LayerMask: PersonMaskUltra V2: Failed to import transformers.models.pvt_v2.configuration_pvt_v2 because of the following error (look up to see its traceback): "How can this be solved, big shots?" |
Try update the transformers dependency |
Have yours been solved? I'm from |
I am still getting this error. Downloading the file manually and putting it in a manually created \ComfyUI\models\mediapipe\selfie_multiclass_256x256.tflite directory results in the same error. Deleting the mediapipe folder entirely and letting Comfy recreate it also gives the same error. I am using the Windows portable standalone install. |
问题:不能正常运行。
已经运行过repair_dependency.bat
这两个命令在我测试的过程中一直不能运行。下面是错误日志
Error occurred when executing LayerMask: PersonMaskUltra:
[Errno 13] Permission denied: 'G:\AI\ComfyUI_M\ComfyUI\models\mediapipe\selfie_multiclass_256x256.tflite'
File "G:\AI\ComfyUI_M\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\AI\ComfyUI_M\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\AI\ComfyUI_M\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\AI\ComfyUI_M\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\person_mask_Ultra.py", line 63, in person_mask_ultra
with open(a_person_mask_generator_model_path, "rb") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered: