Closed Alexpinilla closed 1 year ago
This is a required argument. The problem is that your hook might be un-successful
I know that is a required argument, but the fix set its to None when it is not provided, that fixes it.
I experimented this error, with this fix it won't happen again and the animation will be generated.
Without this code, when it fails, no animation will work until you restart the process and will return the "TypeError: VanillaTemporalModule.forward() missing 1 required positional argument: 'encoder_hidden_states' "
encoder_hidden_states do seem to be always None
I will merge this, but the reason why you receive this error is that https://github.com/continue-revolution/sd-webui-animatediff/blob/master/scripts/animatediff_mm.py#L91 hook failed
I fixed this error:
With this fix this error won't happen again.