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

colab error #2

Open
loboere opened this issue Nov 8, 2023 · 1 comment
Open

colab error #2

loboere opened this issue Nov 8, 2023 · 1 comment

Comments

@loboere
Copy link

loboere commented Nov 8, 2023


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'.

@aihao2000
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants