Traceback (most recent call last):
File "D:\Miniconda3\envs\textoon\Lib\site-packages\gradio\queueing.py", line 622, in process_events
response = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\gradio\route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\gradio\blocks.py", line 2014, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\gradio\blocks.py", line 1567, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\anyio_backends_asyncio.py", line 2470, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\anyio_backends_asyncio.py", line 967, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\gradio\utils.py", line 846, in wrapper
response = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "F:\AI-Live2d\Textoon\modules\text2live2d.py", line 90, in text2live2d_model
backhair_repaired_pil = inpainting_long_backhair(gen_image_origin_size_cv2, model_dict, part_list, save_time_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI-Live2d\Textoon\modules\inpainting_occlusion.py", line 186, in inpainting_long_backhair
gen_image_expand_pil = call_comfyui_img2img(template_control_base64, template_joy_base64, image_base64, mask_base64)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI-Live2d\Textoon\modules\run_comfyui_img2img.py", line 80, in call_comfyui_img2img
gen_image_pil = Image.open(io.BytesIO(images["19"][0]))
~~~~~~^^^^^^
KeyError: '19'
F:\AI-Live2d\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\lineart_init_.py:105: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
model.load_state_dict(torch.load(model_path, map_location=torch.device('cpu')))
F:\AI-Live2d\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\lineart_init_.py:109: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
coarse_model.load_state_dict(torch.load(coarse_model_path, map_location=torch.device('cpu')))
Requested to load SDXLClipModel
Loading 1 new model
loaded completely 0.0 1560.802734375 True
F:\AI-Live2d\ComfyUI\models\clip\siglip-so400m-patch14-384
F:\AI-Live2d\ComfyUI\models\LLM\Meta-Llama-3.1-8B-bnb-4bit
!!! Exception during processing !!! Tokenizer is of type <class 'bool'>
Traceback (most recent call last):
File "F:\AI-Live2d\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 "F:\AI-Live2d\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 "F:\AI-Live2d\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "F:\AI-Live2d\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "F:\AI-Live2d\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\Joy_caption_node.py", line 135, in gen
self.loadCheckPoint()
File "F:\AI-Live2d\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\Joy_caption_node.py", line 108, in loadCheckPoint
assert isinstance(tokenizer, PreTrainedTokenizer) or isinstance(tokenizer, PreTrainedTokenizerFast), f"Tokenizer is of type {type(tokenizer)}"
AssertionError: Tokenizer is of type <class 'bool'>
Traceback (most recent call last):
File "D:\Miniconda3\envs\textoon\Lib\site-packages\gradio\queueing.py", line 622, in process_events
response = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\gradio\route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\gradio\blocks.py", line 2014, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\gradio\blocks.py", line 1567, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\anyio_backends_asyncio.py", line 2470, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\anyio_backends_asyncio.py", line 967, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Miniconda3\envs\textoon\Lib\site-packages\gradio\utils.py", line 846, in wrapper
response = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "F:\AI-Live2d\Textoon\modules\text2live2d.py", line 90, in text2live2d_model
backhair_repaired_pil = inpainting_long_backhair(gen_image_origin_size_cv2, model_dict, part_list, save_time_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI-Live2d\Textoon\modules\inpainting_occlusion.py", line 186, in inpainting_long_backhair
gen_image_expand_pil = call_comfyui_img2img(template_control_base64, template_joy_base64, image_base64, mask_base64)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI-Live2d\Textoon\modules\run_comfyui_img2img.py", line 80, in call_comfyui_img2img
gen_image_pil = Image.open(io.BytesIO(images["19"][0]))
~~~~~~^^^^^^
KeyError: '19'
F:\AI-Live2d\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\lineart_init_.py:105: FutureWarning: You are using
torch.loadwithweights_only=False(the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value forweights_onlywill be flipped toTrue. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user viatorch.serialization.add_safe_globals. We recommend you start settingweights_only=Truefor any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.model.load_state_dict(torch.load(model_path, map_location=torch.device('cpu')))
F:\AI-Live2d\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\lineart_init_.py:109: FutureWarning: You are using
torch.loadwithweights_only=False(the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value forweights_onlywill be flipped toTrue. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user viatorch.serialization.add_safe_globals. We recommend you start settingweights_only=Truefor any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.coarse_model.load_state_dict(torch.load(coarse_model_path, map_location=torch.device('cpu')))
Requested to load SDXLClipModel
Loading 1 new model
loaded completely 0.0 1560.802734375 True
F:\AI-Live2d\ComfyUI\models\clip\siglip-so400m-patch14-384
F:\AI-Live2d\ComfyUI\models\LLM\Meta-Llama-3.1-8B-bnb-4bit
!!! Exception during processing !!! Tokenizer is of type <class 'bool'>
Traceback (most recent call last):
File "F:\AI-Live2d\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 "F:\AI-Live2d\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 "F:\AI-Live2d\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "F:\AI-Live2d\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "F:\AI-Live2d\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\Joy_caption_node.py", line 135, in gen
self.loadCheckPoint()
File "F:\AI-Live2d\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\Joy_caption_node.py", line 108, in loadCheckPoint
assert isinstance(tokenizer, PreTrainedTokenizer) or isinstance(tokenizer, PreTrainedTokenizerFast), f"Tokenizer is of type {type(tokenizer)}"
AssertionError: Tokenizer is of type <class 'bool'>