[Custom Models] Can't load dreambooth models with new scheduling config method and DPMSolver
See original GitHub issueDescribe the bug
I can’t load DPMSolver, for example, with the new method to define schedulers from config, cause apparently, most these dreambooth models don’t have a config for the schedulers. What do we do in this instance then?
OSError: nitrosocke/redshift-diffusion does not appear to have a file named scheduler_config.json.
Reproduction
Load DPMSolver with Dreambooth model like nitrosocke/redshift-diffusion
and pass the pipe.scheduler.config
to it.
Logs
~\AppData\Roaming\Python\Python39\site-packages\diffusers\configuration_utils.py in from_config(cls, config, return_unused_kwargs, **kwargs)
194 )
195 deprecate("config-passed-as-path", "1.0.0", deprecation_message, standard_warn=False)
--> 196 config, kwargs = cls.load_config(pretrained_model_name_or_path=config, return_unused_kwargs=True, **kwargs)
197
198 init_dict, unused_kwargs, hidden_dict = cls.extract_init_dict(config, **kwargs)
~\AppData\Roaming\Python\Python39\site-packages\diffusers\configuration_utils.py in load_config(cls, pretrained_model_name_or_path, return_unused_kwargs, **kwargs)
352 )
353 except EntryNotFoundError:
--> 354 raise EnvironmentError(
355 f"{pretrained_model_name_or_path} does not appear to have a file named {cls.config_name}."
356 )
OSError: nitrosocke/redshift-diffusion does not appear to have a file named scheduler_config.json.
System Info
diffusers-cli env
doesn’t seem to work when installed with Conda (this is a fresh install of diffusers as of this morning with conda install method)
diffusers-cli is not recognized as an internal or external command,
operable program or batch file.
Guess that’s yet another bug.
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
[Custom Models] Can't load dreambooth models with new ...
I can't load DPMSolver, for example, with the new method to define schedulers from config, cause apparently, most these dreambooth models don't ......
Read more >DreamBooth fine-tuning example - Hugging Face
DreamBooth fine-tuning example. DreamBooth is a method to personalize text-to-image models like stable diffusion given just a few (3~5) images of a subject....
Read more >Releases · huggingface/diffusers - GitHub
Diffusers: State-of-the-art diffusion models for image and audio ... To change the custom pipeline version, set the custom_revision variable like so:.
Read more >Stable Diffusion Tutorial Part 1: Run Dreambooth in Gradient ...
This new method allows users to input a few images, ... Note: You will need at least 16 GB of GPU RAM to...
Read more >New (simple) Dreambooth method is out, train under 10 ...
New (simple) Dreambooth method is out, train under 10 minutes without class images on multiple subjects, retrainable-ish model · 1- Prepare 30 ( ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
pinging our conda contributor @sugatoray for a way to enable CLI commands in conda packages 😃
@WASasquatch what would you suggest 🤗 change to correct the reported issue? Were you able to hack together a workaround?