Closed camoody1 closed 5 months ago
It's something to do with the init_latent
on the iterator node. Works when i plug a latent image.
Hey! So the logic there is, that the Deforum Iterator Node creates a new latent on frame 0 (when reset_latent = True), but on consequent frames, it just passes whatever latent input is connected to it. Therefore, as in the examples, a Deforum Cache Latent and a Deforum Load Cached Latent node takes care of the cycle, by you processing and encoding an image in each iteration, and caching it. On next run, the Load Cached Latent node will return that latent instead of None.
In my comfyUI, the base sample workflow set like following
the error of
File "..\custom_nodes\deforum-comfy-nodes\deforum_nodes\nodes\deforum_iteration_nodes.py", line 253, in get
args.height, args.width = latent["samples"].shape[2] * 8, latent["samples"].shape[3] * 8
~~~~~~^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
is gone. But I really didn't get it.
In my comfyUI, the base sample workflow set like following
the error of
File "..\custom_nodes\deforum-comfy-nodes\deforum_nodes\nodes\deforum_iteration_nodes.py", line 253, in get args.height, args.width = latent["samples"].shape[2] * 8, latent["samples"].shape[3] * 8 ~~~~~~^^^^^^^^^^^ TypeError: 'NoneType' object is not subscriptable
is gone. But I really didn't get it.
I tried this and i is working for me. Bravo!! Thanks!
I get this error message in the "(deforum) KSampler" node every time I attempt to run your sample workflows:
Any idea how I can fix this issue?