GithubHelp home page GithubHelp logo

comfyui_aly's People

Contributors

starthua avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

comfyui_aly's Issues

ALY_Seg_head输出的数据类型有误

微信截图_20240305114546
ALY_Seg_head节点输出的“Width”,“Height”,“X”,“Y”连接点,无法和其他节点的整数类型连接点相连,为什么输出的类型是“STRING”,想通过“字符串到整数”的转换,连接其他的整数连接点却又报错。

Error occurred when executing CR String To Number:
'int' object has no attribute 'startswith'

这是什么错误

Traceback (most recent call last):
File "H:\Blender_ComfyUI\ComfyUI\nodes.py", line 1888, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "H:\Blender_ComfyUI\ComfyUI\custom_nodes\Comfyui_ALY_init
.py", line 2, in
from .ALY_Seg_Cloth import *
File "H:\Blender_ComfyUI\ComfyUI\custom_nodes\Comfyui_ALY\ALY_Seg_Cloth.py", line 6, in
from .AlyVision import imagese
File "H:\Blender_ComfyUI\ComfyUI\custom_nodes\Comfyui_ALY\AlyVision.py", line 5, in
from alibabacloud_imageseg20191230.client import Client as imageseg20191230Client
File "H:\Blender_ComfyUI\python_embeded\Lib\site-packages\alibabacloud_imageseg20191230\client.py", line 6, in
from alibabacloud_tea_openapi.client import Client as OpenApiClient

File "H:\Blender_ComfyUI\python_embeded\Lib\site-packages\alibabacloud_tea_openapi\client.py", line 16, in
from alibabacloud_openapi_util.client import Client as OpenApiUtilClient
File "H:\Blender_ComfyUI\python_embeded\Lib\site-packages\alibabacloud_openapi_util\client.py", line 8, in
from cryptography.hazmat.backends import default_backend
ModuleNotFoundError: No module named 'cryptography'
Cannot import H:\Blender_ComfyUI\ComfyUI\custom_nodes\Comfyui_ALY module for custom nodes: No module named 'cryptography'

UnboundLocalError: local variable 'image_url' referenced before assignment

使用插件的时候遇到这样的报错

got prompt
==========错误 start===========
HTTPSConnectionPool(host='openplatform.aliyuncs.com', port=443): Max retries exceeded with url: /?Product=imageseg (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)')))
==========错误 end===========
ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
File "/root/ComfyUI/execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/root/ComfyUI/execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/root/ComfyUI/execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/root/ComfyUI/custom_nodes/Comfyui_ALY/ALY_Seg_Cloth.py", line 90, in sample
source_img = img_from_url(image_url)
UnboundLocalError: local variable 'image_url' referenced before assignment

看了阿里云后台,没有产生扣费,应该是调用失败的
微信截图_20240122204137
尝试添加了这串代码,禁用ssh,然后还是出现相同的报错额( ̄_, ̄ )

UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-1: ordinal not in range(256)

[2024-02-18 12:06] ERROR:root:Traceback (most recent call last):
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_ALY\ALY_Seg_Cloth.py", line 89, in sample
raise(error)
File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_ALY\ALY_Seg_Cloth.py", line 75, in sample
response = client.segment_cloth_advance(segment_cloth_request, runtime)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\alibabacloud_imageseg20191230\client.py", line 1220, in segment_cloth_advance
oss_client.post_object(upload_request, oss_runtime)
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\alibabacloud_oss_sdk\client.py", line 9845, in post_object
raise e
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\alibabacloud_oss_sdk\client.py", line 9823, in post_object
_response = TeaCore.do_action(_request, _runtime)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\Tea\core.py", line 212, in do_action
resp = adapter.send(
^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connectionpool.py", line 416, in _make_request
conn.request(method, url, **httplib_request_kw)
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connection.py", line 244, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "http\client.py", line 1286, in request
File "http\client.py", line 1327, in _send_request
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\urllib3\connection.py", line 224, in putheader
_HTTPConnection.putheader(self, header, *values)
File "http\client.py", line 1259, in putheader
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-1: ordinal not in range(256)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.