kijai / ComfyUI-VEnhancer

61 stars 2 forks source link

Error 1 required positional argument : device #4

Open al3dv2 opened 3 months ago

al3dv2 commented 3 months ago

Hi I have a error with the VEnhancer workflow on comfyui here's the error : venhancererror

longzy1 commented 3 months ago

same problem

cheezecrisp commented 3 months ago

Same

Loading model from: D:\AI\ComfyUI_windows_portable\ComfyUI\models\venhancer\venhancer_paper-fp16.safetensors leftover_keys !!! Exception during processing !!! VideoToVideo.init() missing 1 required positional argument: 'device' Traceback (most recent call last): File "D:\AI\ComfyUI_windows_portable\ComfyUI\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 "D:\AI\ComfyUI_windows_portable\ComfyUI\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 "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-VEnhancer\nodes.py", line 79, in loadmodel self.model = VideoToVideo(generator) ^^^^^^^^^^^^^^^^^^^^^^^ TypeError: VideoToVideo.init() missing 1 required positional argument: 'device'

kijai commented 3 months ago

My bad, forgot to push that fix I had already done. Updating now should help.

al3dv2 commented 3 months ago

Thanks its works now