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
[Bug]: Attribute error #5
Comments
I am experiencing the same error, seems like there is an issue when unloading the motion module. Restarting the whole webui.bat allows for one successful generation, afterwards I'm getting weird noise unless I restart the webui.bat. |
yes. this is annoying. For me my generation doesn't even make a gif. |
Please give me a screenshot of your webui, otherwise I cannot reproduce your error on my side. |
Yep same error and same symptoms with all images going to garbage after first run. |
I fixed it by reinstalling torch. Check for error messages on the window where you launched webui |
For old pytorch there is a solution: def _pop(self, key):
v = self[key]
del self[key]
return v
def _insert(self, index, module):
n = len(self._modules)
if not (-n <= index <= n):
raise IndexError(
f'Index out of range: {index}')
if index < 0:
index += n
for i in range(n, index, -1):
self._modules[str(i)] = self._modules[str(i - 1)]
self._modules[str(index)] = module
return self
TimestepEmbedSequential.pop = _pop
TimestepEmbedSequential.insert = _insert in scripts/animatediff.py somewhere after imports |
I will close this issue for now. If you meet this problem again, please update your pytorch by running webui with --reinstall-torch (if I remember correctly) |
Is there an existing issue for this?
Have you read FAQ on README?
What happened?
An AttributeError is thrown.
Steps to reproduce the problem
Press generate while extension is enabled
What should have happened?
It should not throw the error
Commit where the problem happens
webui: v1.4.1
extension: e8c88a4
What browsers do you use to access the UI ?
No response
Command Line Arguments
set COMMANDLINE_ARGS=--listen --api --enable-insecure-extension-access
Console logs
The text was updated successfully, but these errors were encountered: