PowerPaint icon indicating copy to clipboard operation
PowerPaint copied to clipboard

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

Open yunhoa opened this issue 6 months ago • 2 comments

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!

yunhoa avatar Jun 25 '25 02:06 yunhoa

解决了吗

ningrui520 avatar Jul 10 '25 02:07 ningrui520

我也是,烦死了

Asyou-GD avatar Aug 15 '25 02:08 Asyou-GD