Code Monkey home page Code Monkey logo

Comments (8)

JCBrouwer avatar JCBrouwer commented on June 18, 2024 2

Aha, you're right!

I thought I had tried the others on their own but I guess I've always left 'shuffle' on because it seemed to work.

When I run without 'shuffle' the others work fine, but as soon as I enable 'shuffle' together with another ControlNet it crashes.

Thanks for your help!

For now just ignoring 'shuffle' is a fine solution for me.

from animatediff-cli-prompt-travel.

JCBrouwer avatar JCBrouwer commented on June 18, 2024
Just an example of a controlnet image from `data/controlnet_image/test`

07

And the preprocessed versions from `output/.../00_detectmap`:

lineart_anime:
0007

shuffle:
0007

tile:
0007

from animatediff-cli-prompt-travel.

s9roll7 avatar s9roll7 commented on June 18, 2024

Thanks for the report.
Could you zip and paste data/controlnet_image/test?
And I'd like you to describe the command as well.

from animatediff-cli-prompt-travel.

JCBrouwer avatar JCBrouwer commented on June 18, 2024

Hi, thanks for your help.

Here's a zip with my data/controlnet_image/test and config: my_controlnet_image_test_and_config.zip

The command I'm running is:

animatediff generate -c config/prompts/prompt_travel_blobcube.json -W 512 -H 512 -L 15 -C 15

from animatediff-cli-prompt-travel.

JCBrouwer avatar JCBrouwer commented on June 18, 2024

Looking at it now, I think I understand why the results of the GIF above were so strange in the first frames. The GIF was with -L 128, so only the first 15-20 frames were getting ControlNet guidance.

Maybe the shuffle ControlNet wasn't working well for that model? Or the ControlNet guidance scale was too high? Or maybe, even though it's shape doesn't cause an error, there is an issue with the shuffle ControlNet as well?

from animatediff-cli-prompt-travel.

s9roll7 avatar s9roll7 commented on June 18, 2024

Thanks. I was able to reproduce it in my environment.
It seems that "controlnet_shuffle" is not working properly.

And the start of the frame starts from 0. I think that's why the first frame is wrong.

from animatediff-cli-prompt-travel.

JCBrouwer avatar JCBrouwer commented on June 18, 2024

Just to clarify, while I think there might also be an issue with 'controlnet_shuffle', the other ControlNets crash for me.

If I enable only 'controlnet_canny', for example, then video generation fails completely with the traceback up above.

RuntimeError: shape mismatch: value tensor of shape [2, 1280, 1, 8, 8] cannot be broadcast to indexing result of shape [2, 1280, 1, 1, 1].

Do you want me to open a separate issue for this?

from animatediff-cli-prompt-travel.

s9roll7 avatar s9roll7 commented on June 18, 2024

As for shuffle, it seems that the diffusers implementation does not support multi controlnet, so it seems to be sort of expected that it will fail, but it is strange that canny does. I just tried it, and in my environment, if only canny is enabled, it succeeds.

from animatediff-cli-prompt-travel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.