Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem #233

Open
hzvolkan opened this issue Apr 22, 2023 · 0 comments
Open

Problem #233

hzvolkan opened this issue Apr 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@hzvolkan
Copy link

Describe the bug

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

System Info

Professional

@hzvolkan hzvolkan added the bug Something isn't working label Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant