kijai / ComfyUI-DepthAnythingV2

Simple DepthAnythingV2 inference node for monocular depth estimation
167 stars 12 forks source link

AttributeError: 'Namespace' object has no attribute 'node_smart_offload_level' #10

Closed patientx closed 2 months ago

patientx commented 2 months ago

A simple workflow results in :

got prompt Loading model from: D:\c2\models\depthanything\depth_anything_v2_vits_fp16.safetensors using MLP layer as FFN Exception in thread Thread-16 (prompt_worker): Traceback (most recent call last): File "C:\Users\aslan\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner self.run() File "C:\Users\aslan\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run self._target(*self._args, *self._kwargs) File "D:\c2\main.py", line 116, in prompt_worker e.execute(item[2], prompt_id, item[3], item[4]) File "D:\c2\custom_nodes\rgthree-comfy__init__.py", line 211, in rgthree_execute return self.rgthree_old_execute(args, **kwargs) File "D:\c2\execution.py", line 438, in execute self.success, error, ex = recursive_execute(self.server, prompt, self.outputs, output_node_id, extra_data, executed, prompt_id, self.outputs_ui, self.object_storage, reference_map) File "D:\c2\execution.py", line 178, in recursive_execute result = recursive_execute(server, prompt, outputs, input_unique_id, extra_data, executed, prompt_id, outputs_ui, object_storage, reference_map) File "D:\c2\execution.py", line 178, in recursive_execute result = recursive_execute(server, prompt, outputs, input_unique_id, extra_data, executed, prompt_id, outputs_ui, object_storage, reference_map) File "D:\c2\execution.py", line 238, in recursive_execute release_outputs_from_reference_map(outputs, reference_map, unique_id) File "D:\c2\execution.py", line 136, in release_outputs_from_reference_map offload_level = args.node_smart_offload_level AttributeError: 'Namespace' object has no attribute 'node_smart_offload_level'

and hangs there...