You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1 frames /usr/local/lib/python3.10/dist-packages/diffusers/pipelines/pipeline_utils.py in download(cls, pretrained_model_name, **kwargs)
1683 custom_components[component] = module_candidate
1684 elif module_candidate not in LOADABLE_CLASSES and not hasattr(pipelines, module_candidate):
-> 1685 raise ValueError(
1686 f"{candidate_file} as defined in model_index.json does not exist in {pretrained_model_name} and is not a module in 'diffusers/pipelines'."
1687 )
ValueError: unet/stable_diffusion_reference_only.models.unet_2d_dobule_condition.py as defined in model_index.json does not exist in AisingioroHao0/stable-diffusion-reference-only-automatic-coloring-0.1.2 and is not a module in 'diffusers/pipelines'.
The text was updated successfully, but these errors were encountered:
@loboere The temporary fix was fixed by fixing the diffusers version to 0.21.0. It seems that some new type checks have been added and custom modules are not supported. I will take a closer look.
ValueError Traceback (most recent call last)
in <cell line: 1>()
----> 1 automatic_coloring_pipeline = StableDiffusionReferenceOnlyPipeline.from_pretrained(
2 "AisingioroHao0/stable-diffusion-reference-only-automatic-coloring-0.1.2"
3 ).to(device)
4 automatic_coloring_pipeline.scheduler = UniPCMultistepScheduler.from_config(
5 automatic_coloring_pipeline.scheduler.config
1 frames
/usr/local/lib/python3.10/dist-packages/diffusers/pipelines/pipeline_utils.py in download(cls, pretrained_model_name, **kwargs)
1683 custom_components[component] = module_candidate
1684 elif module_candidate not in LOADABLE_CLASSES and not hasattr(pipelines, module_candidate):
-> 1685 raise ValueError(
1686 f"{candidate_file} as defined in
model_index.json
does not exist in {pretrained_model_name} and is not a module in 'diffusers/pipelines'."1687 )
ValueError: unet/stable_diffusion_reference_only.models.unet_2d_dobule_condition.py as defined in
model_index.json
does not exist in AisingioroHao0/stable-diffusion-reference-only-automatic-coloring-0.1.2 and is not a module in 'diffusers/pipelines'.The text was updated successfully, but these errors were encountered: