Code Monkey home page Code Monkey logo

Comments (5)

Bendito999 avatar Bendito999 commented on August 27, 2024 3

Yes, see fork https://github.com/talesofai/AnimateDiff , that one has an example of an initial image being used on example 10.

from animatediff.

wang-zm18 avatar wang-zm18 commented on August 27, 2024

According to the 10-InitImageYoimiya.yaml and tutorial, I got the following results. Unlike the given yoimiya example, it seems that the generated contents are not very consistent with the initial image. May I make some mistakes?
sample

from animatediff.

wang-zm18 avatar wang-zm18 commented on August 27, 2024

Oh, I know the mistake! There are some differences in animated.py of two repositories. The updated results are consistent with the tutorials.
sample

from animatediff.

elliskt avatar elliskt commented on August 27, 2024

@wang-zm18 is it still able to see the tutorial?

from animatediff.

npit avatar npit commented on August 27, 2024

When trying to run the provided example as-is, I'm getting an error:

  File "/content/animatediff_image/scripts/animate.py", line 100, in main
    pipeline.text_encoder = convert_ldm_clip_checkpoint(base_state_dict)
  File "/content/animatediff_image/animatediff/utils/convert_from_ckpt.py", line 726, in convert_ldm_clip_checkpoint
    text_model.load_state_dict(text_model_dict)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 2041, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for CLIPTextModel:
	Unexpected key(s) in state_dict: "text_model.embeddings.position_ids". 

Are there specific library / checkpoint versions I should be using?

from animatediff.

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.