Hello everyone,
I’m trying to follow these instructions : Load pipelines, models, and schedulers
But I get this :
from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained(“runwayml/stable-diffusion-v1-5”)
Fetching 19 files: 100%|███████████████████████████████████████████████████████████████████████| 19/19 [00:00<?, ?it/s]
The config attributes {‘clip_sample’: False} were passed to PNDMScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\win101user\AppData\Local\Env01\Lib\site-packages\diffusers\pipeline_utils.py”, line 455, in from_pretrained
load_method = getattr(class_obj, load_method_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: attribute name must be string, not ‘NoneType’
It looks like an error in the code but I don’t know much…
Any help would be appreciated, thanks !