Fetching 19 files: 100%|██████████| 19/19 [00:00<?, ?it/s]
text_config_dict is provided which will be used to initialize CLIPTextConfig. The value text_config["id2label"] will be overriden.
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 "ain.py", line 3, in
pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")
\diffusers\pipeline_utils.py", line 455, in from_pretrained
load_method = getattr(class_obj, load_method_name)
TypeError: getattr(): attribute name must be string
Reproduction
Problem
Logs
Fetching 19 files: 100%|██████████| 19/19 [00:00<?, ?it/s]
`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["id2label"]` will be overriden.
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 "\main.py", line 3, in <module>
pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")
File "oj\des\lib\site-packages\diffusers\pipeline_utils.py", line 455, in from_pretrained
load_method = getattr(class_obj, load_method_name)
TypeError: getattr(): attribute name must be string
Describe the bug
Fetching 19 files: 100%|██████████| 19/19 [00:00<?, ?it/s]
pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")
\diffusers\pipeline_utils.py", line 455, in from_pretrained
load_method = getattr(class_obj, load_method_name)
TypeError: getattr(): attribute name must be string
text_config_dict
is provided which will be used to initializeCLIPTextConfig
. The valuetext_config["id2label"]
will be overriden. 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 "ain.py", line 3, inReproduction
Problem
Logs
System Info
Professional