Code Monkey home page Code Monkey logo

Comments (2)

guoyww avatar guoyww commented on August 27, 2024 1

Hi, it seems you should add the key "lora_alpha" in your config file, e.g.,

...
path: "models/DreamBooth_LoRA/DANWGFWL.safetensors"
lora_alpha: 0.8
...

from animatediff.

magicwang1111 avatar magicwang1111 commented on August 27, 2024

Traceback (most recent call last):
File "C:\Users\admin\anaconda3\envs\animatediff\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\admin\anaconda3\envs\animatediff\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\AnimateDiff\scripts\animate.py", line 159, in
main(args)
File "D:\AnimateDiff\scripts\animate.py", line 103, in main
pipeline = convert_lora(pipeline, state_dict, alpha=model_config.lora_alpha)
File "C:\Users\admin\anaconda3\envs\animatediff\lib\site-packages\omegaconf\dictconfig.py", line 355, in getattr
self._format_and_raise(
File "C:\Users\admin\anaconda3\envs\animatediff\lib\site-packages\omegaconf\base.py", line 231, in _format_and_raise
format_and_raise(
File "C:\Users\admin\anaconda3\envs\animatediff\lib\site-packages\omegaconf_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "C:\Users\admin\anaconda3\envs\animatediff\lib\site-packages\omegaconf_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
File "C:\Users\admin\anaconda3\envs\animatediff\lib\site-packages\omegaconf\dictconfig.py", line 351, in getattr
return self._get_impl(
File "C:\Users\admin\anaconda3\envs\animatediff\lib\site-packages\omegaconf\dictconfig.py", line 442, in _get_impl
node = self._get_child(
File "C:\Users\admin\anaconda3\envs\animatediff\lib\site-packages\omegaconf\basecontainer.py", line 73, in _get_child
child = self._get_node(
File "C:\Users\admin\anaconda3\envs\animatediff\lib\site-packages\omegaconf\dictconfig.py", line 480, in _get_node
raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key lora_alpha
full_key: lyriel_v16.lora_alpha
object_type=dict

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.