djbielejeski / a-person-mask-generator

Extension for Automatic1111 and ComfyUI to automatically create masks for Background/Hair/Body/Face/Clothes in Img2Img
MIT License
247 stars 30 forks source link

ERROR #29

Closed realclone1 closed 2 months ago

realclone1 commented 5 months ago

Error occurred when executing APersonMaskGenerator:

ImageSegmenterOptions.init() got an unexpected keyword argument 'output_category_mask'

File "E:\Blender_ComfyUI\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "E:\Blender_ComfyUI\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "E:\Blender_ComfyUI\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "E:\Blender_ComfyUI\ComfyUI\custom_nodes\a-person-mask-generator\a_person_mask_generator_comfyui.py", line 103, in generate_mask options = mp.tasks.vision.ImageSegmenterOptions(

I really don't know how to solve it

djbielejeski commented 5 months ago

Try the following

  1. Close ComfyUI

  2. Open CMD and activate your comfyUI virtual environment (for me this is executing venv\Scripts\activate.bat) image

  3. Navigate to custom_nodes\a-person-mask-generator and run pip install -r requirements.txt image

Minebook commented 3 months ago

asus tuf gaming f15 After launching the WEB UI with this script, the right speaker breaks and white noise instead of sound, after restarting the computer everything is fixed. What could be the problem?