kabachuha / sd-webui-text2video

Auto1111 extension implementing text2video diffusion models (like ModelScope or VideoCrafter) using only Auto1111 webui dependencies
Other
1.28k stars 107 forks source link

[Bug]: Getting "TextToVideoSynthesis.infer() takes from 6 to 11 positional arguments but 12 were given" #28

Closed oliverban closed 1 year ago

oliverban commented 1 year ago

Is there an existing issue for this?

Are you using the latest version of the extension?

What happened?

Wrote "A girl on a swing" in the prompt, kept everything default. I have the models and config under the specified path in "How to install..." tab. When I clicked generate, something started happening, my console started putting out info but stopped at:

Starting text2video Exception occured TextToVideoSynthesis.infer() takes from 6 to 11 positional arguments but 12 were given

And then it does not work and nothing is being generated in the bg.

Steps to reproduce the problem

  1. Go to Modelscope text2video tab (latest A1111 commit and latest MS commit)
  2. Write "A girl on a swing" in prompt
  3. Click Generate
  4. Get the error and move on with your life.

What should have happened?

It should have generated some kind of images/frames/video.

WebUI and Deforum extension Commit IDs

webui commit id - Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2 txt2vid commit id - Git commit: a1aa3289 (Tue Mar 21 10:54:55 2023)

What GPU were you using for launching?

3090 24gb vram

On which platform are you launching the webui backend with the extension?

No response

Settings

All default.

Console logs

https://pastebin.com/41Ld1b9r

Additional information

No response

kabachuha commented 1 year ago

Try deleting your cache.json and cache.json.lock files from the webui directory. The UI has been updated recently

2PeteShakur commented 1 year ago

thx, this fixed it, i was able to use latest text2video model and just deleted cache.json as that was the only file I had. [GPU: 3090].