VAST-AI-Research / TripoSR

MIT License
4.6k stars 535 forks source link

Can't get final Mesh to Output With Any Image #113

Open Dankius1 opened 3 months ago

Dankius1 commented 3 months ago

I've tried figuring this out but I can't seem to get it right. I couldn't get MixLabs Rembg to appear no matter what I reinstalled, so I settled on BREA Rembg. The final image looks good, but no matter what I do, this error occurs at the sampler in the workflow. Help! image_2024-08-20_132221126

Error occurred when executing TripoSRSampler_:

TSR.extract_mesh() got an unexpected keyword argument 'callback'

File "B:\A.I.ImageGenerationInterface\ComfyUI\execution.py", line 316, 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 "B:\A.I.ImageGenerationInterface\ComfyUI\execution.py", line 191, 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 "B:\A.I.ImageGenerationInterface\ComfyUI\execution.py", line 168, in _map_node_over_list process_inputs(input_dict, i) File "B:\A.I.ImageGenerationInterface\ComfyUI\execution.py", line 157, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "B:\A.I.ImageGenerationInterface\ComfyUI\custom_nodes\comfyui-mixlab-nodes\nodes\TripoSR.py", line 138, in run meshes = model.extract_mesh(scene_codes, resolution=resolution, threshold=threshold,callback=callback) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^