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

Got einops.EinopsError: Error while processing rearrange-reduction pattern #42

Open
eli-byers opened this issue Dec 21, 2023 · 0 comments

Comments

@eli-byers
Copy link

Freshly installed the extensions got:

 File "C:\StableDiff\stable-diffusion-webui\extensions\Hotshot-XL-Automatic1111\scripts\hotshot_xl_model_controller.py", line 176, in groupnorm32_mm_forward
        x = rearrange(x, "(b f) c h w -> b c f h w", b=2)
      File "C:\StableDiff\stable-diffusion-webui\venv\lib\site-packages\einops\einops.py", line 487, in rearrange
        return reduce(tensor, pattern, reduction='rearrange', **axes_lengths)
      File "C:\StableDiff\stable-diffusion-webui\venv\lib\site-packages\einops\einops.py", line 418, in reduce
        raise EinopsError(message + '\n {}'.format(e))
    einops.EinopsError:  Error while processing rearrange-reduction pattern "(b f) c h w -> b c f h w".
     Input tensor shape: torch.Size([2, 320, 16, 64, 64]). Additional info: {'b': 2}.
     Expected 4 dimensions, got 5
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

1 participant