Skip to content

模型vae文件夹下缺少 diffusion_pytorch_model.safetensors #60

@tobeornottoer

Description

@tobeornottoer

An error occurred while trying to fetch models/OOTDiffusion/checkpoints/ootd/vae: Error no file named diffusion_pytorch_model.safetensors found in directory models/OOTDiffusion/checkpoints/ootd/vae.
Defaulting to unsafe serialization. Pass allow_pickle=False to raise an error instead.
!!! Exception during processing !!! You are trying to load the model files of the variant=fp16, but no such modeling files are available.
Traceback (most recent call last):
File "/root/autodl-tmp/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 "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "/root/autodl-tmp/ComfyUI/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-OOTDiffusion/init.py", line 59, in load
return (self.load_impl(type, path),)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-OOTDiffusion/init.py", line 56, in load_impl
return OOTDiffusion(path, model_type=type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-OOTDiffusion/inference_ootd.py", line 78, in init
self.pipe = OotdPipeline.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/site-packages/diffusers/pipelines/pipeline_utils.py", line 779, in from_pretrained
raise ValueError(error_message)
ValueError: You are trying to load the model files of the variant=fp16, but no such modeling files are available.

这是为什么,模型vae下不是只有diffusion_pytorch_model.bin 吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions