was-node-suite-comfyui icon indicating copy to clipboard operation
was-node-suite-comfyui copied to clipboard

Help

Open Joanne521 opened this issue 1 year ago • 7 comments

the node report error,please help!

File "F:\ComfyUI-aki-v1.4\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "F:\ComfyUI-aki-v1.4\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "F:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "F:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "F:\ComfyUI-aki-v1.4\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 6200, in apply_image_levels tensor_images.append(pil2tensor(levels.adjust(img))) File "F:\ComfyUI-aki-v1.4\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 6222, in adjust gamma = math.log(0.5) / math.log((self.mid_level - self.min_level) / (self.max_level - self.min_level)) ValueError: math domain error

Joanne521 avatar Sep 19 '24 10:09 Joanne521

Math domain error occurs because you are doing an operation outside the domain of the operation potentially, like negative numbers or 0. What are your values and how are you using it?

WASasquatch avatar Sep 19 '24 14:09 WASasquatch

Math domain error occurs because you are doing an operation outside the domain of the operation potentially, like negative numbers or 0. What are your values and how are you using it?

WASasquatch avatar Sep 19 '24 14:09 WASasquatch

发生数学域错误是因为您可能在运算域之外执行运算,例如负数或 0。您的值是什么以及如何使用它? 屏幕截图 2024-09-20 015732 package.json

Thank you for your help! Looking forward to your reply

Joanne521 avatar Sep 19 '24 18:09 Joanne521

我也是同样的问题

xux666 avatar Sep 22 '24 05:09 xux666

13c368b0a7461454c3aef37a0fca5fb 我把参数换成这个数值就能跑了

Joanne521 avatar Sep 22 '24 16:09 Joanne521

发生数学域错误是因为您可能在运算域之外执行运算,例如负数或 0。您的值是什么以及如何使用它? 屏幕截图 2024-09-20 015732 package.json

Thank you for your help! Looking forward to your reply

黑色电平高于中间电平

Black level is higher than the mid level

WASasquatch avatar Sep 22 '24 18:09 WASasquatch

发生数学域错误是因为您可能在运算域之外执行运算,例如负数或 0。您的值是什么以及如何使用它? 屏幕截图 2024-09-20 015732 package.json

Thank you for your help! Looking forward to your reply

黑色电平高于中间电平

Black level is higher than the mid level

Thank you very much for your patient answer!!!!♥

Joanne521 avatar Sep 24 '24 17:09 Joanne521