yuvraj108c / ComfyUI-Upscaler-Tensorrt

3-4x faster ComfyUI Image Upscaling using Tensorrt
Other
70 stars 5 forks source link

'UpscalerTensorrt' object has no attribute 'engine_label' #30

Open Trinistryx opened 3 weeks ago

Trinistryx commented 3 weeks ago

UpscalerTensorrt 'UpscalerTensorrt' object has no attribute 'engine_label'


Prompt executed in 0.01 seconds got prompt !!! Exception during processing !!! 'UpscalerTensorrt' object has no attribute 'engine_label' Traceback (most recent call last): File "D:\JHON\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, 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:\JHON\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, 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:\JHON\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\JHON\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\JHON\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Upscaler-Tensorrt__init__.py", line 70, in main if (not hasattr(self, 'engine') or self.engine_label != engine): ^^^^^^^^^^^^^^^^^ AttributeError: 'UpscalerTensorrt' object has no attribute 'engine_label'


cap

yuvraj108c commented 3 weeks ago

Hi, another user reported this issue a while back, and I can't seem to reproduce it.

Is this the first time you're installing this node, or you updated and then getting this issue?

revmouse commented 2 weeks ago

I have the same issue. The node is installed, the engine is built and placed in the correct directory.

Trinistryx commented 1 week ago

Hola, otro usuario informó de este problema hace un tiempo y parece que no puedo reproducirlo.

¿Es la primera vez que instala este nodo o lo actualizó y luego tiene este problema?

if it is the first time I install the node, I also did everything correctly

vivi-gomez commented 1 week ago

I maybe wrong, Did you install tensorrt==10.5.0? you may try pip install tensorrt==10.4.0

Hola, otro usuario informó de este problema hace un tiempo y parece que no puedo reproducirlo. ¿Es la primera vez que instala este nodo o lo actualizó y luego tiene este problema?

if it is the first time I install the node, I also did everything correctly