Exception Message: Failed to import transformers.models.hiera.configuration_hiera because of the following error (look up to see its traceback):
No module named 'transformers.models.hiera.configuration_hiera'
Stack Trace
File "D:\Blender_ComfyUI\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 "D:\Blender_ComfyUI\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 "D:\Blender_ComfyUI\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\Blender_ComfyUI\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\person_mask_ultra_v2.py", line 156, in person_mask_ultra_v2
_mask = generate_VITMatte(orig_image, _trimap, local_files_only=local_files_only, device=device, max_megapixels=max_megapixels)
File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 1505, in generate_VITMatte
vit_matte_model = load_VITMatte_model(model_name=model_name, local_files_only=local_files_only)
File "D:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 1475, in load_VITMatte_model
model = VitMatteForImageMatting.from_pretrained(model_name, local_files_only=local_files_only)
File "D:\python\lib\site-packages\transformers\modeling_utils.py", line 3832, in from_pretrained
(checkpoint_key, state_dict[checkpoint_key].shape, model_state_dict[model_key].shape)
File "D:\python\lib\site-packages\transformers\models\vitmatte\modeling_vitmatte.py", line 262, in __init__
self.backbone = load_backbone(config)
File "D:\python\lib\site-packages\transformers\utils\backbone_utils.py", line 356, in load_backbone
File "D:\python\lib\site-packages\transformers\models\auto\auto_factory.py", line 418, in from_config
)
File "D:\python\lib\site-packages\transformers\models\auto\auto_factory.py", line 752, in keys
if key in self._model_mapping.keys()
File "D:\python\lib\site-packages\transformers\models\auto\auto_factory.py", line 753, in <listcomp>
]
File "D:\python\lib\site-packages\transformers\models\auto\auto_factory.py", line 749, in _load_attr_from_module
mapping_keys = [
File "D:\python\lib\site-packages\transformers\models\auto\auto_factory.py", line 693, in getattribute_from_module
# object at the top level.
File "D:\python\lib\site-packages\transformers\utils\import_utils.py", line 1593, in __getattr__
File "D:\python\lib\site-packages\transformers\utils\import_utils.py", line 1605, in _get_module
Error Details
Exception Message: Failed to import transformers.models.hiera.configuration_hiera because of the following error (look up to see its traceback): No module named 'transformers.models.hiera.configuration_hiera'
Stack Trace