Skip to content

OSError: Error no file named config.json found in directory checkpoints/ppt-v2 #150

@yunhoa

Description

@yunhoa

deprecate("KAttentionBlock", "0.29", deprecation_message)
Traceback (most recent call last):
File "C:\Users\USER\Music\PowerPaint\app.py", line 435, in
controller = PowerPaintController(
File "C:\Users\USER\Music\PowerPaint\app.py", line 112, in init
unet=UNet2DConditionModel.from_pretrained(
File "C:\Users\USER\Music\ppt_env\lib\site-packages\huggingface_hub\utils_validators.py", line 119, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\USER\Music\ppt_env\lib\site-packages\diffusers\models\modeling_utils.py", line 553, in from_pretrained
config, unused_kwargs, commit_hash = cls.load_config(
File "C:\Users\USER\Music\ppt_env\lib\site-packages\huggingface_hub\utils_validators.py", line 119, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\USER\Music\ppt_env\lib\site-packages\diffusers\configuration_utils.py", line 377, in load_config
raise EnvironmentError(
OSError: Error no file named config.json found in directory checkpoints/ppt-v2.


After inspecting the Hugging Face repository (https://huggingface.co/JunhaoZhuang/PowerPaint_v2), I noticed that config.json is missing from the PowerPaint_Brushnet directory. Only model weights (.bin and .safetensors) are available.

Would it be possible to release the correct config.json (and compatible weights, if needed) for PowerPaint v2/v2-1 so we can run inference using the official script?

Thank you in advance!

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