TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.55k stars 1.31k forks source link

SD 1.5 Conversion error #2942

Closed limetones closed 1 month ago

limetones commented 1 month ago

1.5 Detected [1;32mSession found, loading the trained model ... Traceback (most recent call last): File "/content/diffusers/scripts/convert_original_stable_diffusion_to_diffusers.py", line 19, in from diffusers.pipelines.stable_diffusion.convert_from_ckpt import download_from_original_stable_diffusion_ckpt File "/usr/local/lib/python3.10/dist-packages/diffusers/init.py", line 27, in from .pipelines import OnnxRuntimeModel File "/usr/local/lib/python3.10/dist-packages/diffusers/pipelines/init.py", line 18, in from .dance_diffusion import DanceDiffusionPipeline File "/usr/local/lib/python3.10/dist-packages/diffusers/pipelines/dance_diffusion/init.py", line 1, in from .pipeline_dance_diffusion import DanceDiffusionPipeline File "/usr/local/lib/python3.10/dist-packages/diffusers/pipelines/dance_diffusion/pipeline_dance_diffusion.py", line 21, in from ..pipeline_utils import AudioPipelineOutput, DiffusionPipeline File "/usr/local/lib/python3.10/dist-packages/diffusers/pipelines/pipeline_utils.py", line 39, in from ..models.modeling_utils import _LOW_CPU_MEM_USAGE_DEFAULT File "/usr/local/lib/python3.10/dist-packages/diffusers/models/init.py", line 20, in from .controlnet import ControlNetModel File "/usr/local/lib/python3.10/dist-packages/diffusers/models/controlnet.py", line 32, in from .unet_2d_condition import UNet2DConditionModel File "/usr/local/lib/python3.10/dist-packages/diffusers/models/unet_2d_condition.py", line 22, in from ..loaders import UNet2DConditionLoadersMixin File "/usr/local/lib/python3.10/dist-packages/diffusers/loaders/init.py", line 3, in from ..utils import DIFFUSERS_SLOW_IMPORT, _LazyModule, deprecate ImportError: cannot import name 'DIFFUSERS_SLOW_IMPORT' from 'diffusers.utils' (/usr/local/lib/python3.10/dist-packages/diffusers/utils/init.py) Conversion error, if the error persists, remove the CKPT file from the current session folder

TheLastBen commented 1 month ago

fixed

limetones commented 1 month ago

Hi, it seems the problem is still there, i am trying to load a previous session, it giving me the same error.

TheLastBen commented 1 month ago

use the latest notebook

limetones commented 1 month ago

Thanks a ton bro! You are the best!