Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Unsure why, but I can't generate portraits using the ultralytics method. I've followed the installation process correctly. txt2img and img2img work perfectly fine, but I'm presented with this error for portraits specifically:

ComfyUI Error: ComfyUI execution error: {"prompt_id":"2d7ba987-8840-42c4-564c-6ed56ed59556","node_id":"22","node_type":"ImpactFrom_SEG_ELT","executed":[],"exception_message":"From_SEG_ELT.doit() missing 1 required positional argument: 'seg_elt'
","exception_type":"TypeError","traceback":["  File \"F:\\...\\ComfyUI\\resources\\ComfyUI\\execution.py\", line 534, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
File \"F:\\...\\ComfyUI\\resources\\ComfyUI\\execution.py\", line 334, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
File \"F:\\...\\ComfyUI\\resources\\ComfyUI\\execution.py\", line 304, in _async_map_node_over_list
await process_inputs({})
File \"F:\\...\\ComfyUI\\resources\\ComfyUI\\execution.py\", line 296, in process_inputs\n    result = f(**inputs)
"current_inputs":{"seg_elt":[]},"current_outputs":["19","10","17","23","18","12","13","24","8","1","21","22","20","25","4","9"],"timestamp":1777412457081}

Is this a bug, or am I doing something wrong?

EDIT: I've been playing through a new save for a bit, and I think I can say that for whatever reason, the portraits are working with the exception of my own character, which is just a male Beast Wolf. I'm not really sure why, as I've made portraits for several humanoid characters and a few other beastkin, and it seems to work. My only guess is that the character itself has a pronounced muzzle compared to other characters, which may be making it difficult for him to have his face recognized.

Could be an incompatible change to an interface. I'll update Comfy and check on it.