Closed dustyny closed 1 year ago
Hi @dustyny Did you get this resolved?
Hi @johnnypeck I did not and unfortunately I don't have any other information on the issue,.. unless there are logs in colab I can check.
When I was trying to troubleshoot the issue I tried it without the resume and it worked perfectly fine.. I tried to figure out what broken but I didn't know what was supposed to be passed..
The way I had to work around it was to take the remaining images, turn them back into a video and then rerun the notebook with the last segment of the video..
Did you try previous revisions of your colab? If you have autosave set it makes them for you. I don't recommend using autosave in colab. But,
You can run diffs on all your revisions to find out if you wonked something up. I'd do that first. It's awkwardly easy to introduce strange crap into colabs when your experimenting all over the place.
Did you start from a fresh, working deforum and repeat your steps? Are you using the resume functionality correctly? It's different than Disco Diffusion was. It actually bothered me quite a bit at first.
Given that, do you have a link to a copy of your colab you'd be willing to share and the steps to reproduce the error?
Logs all day in colab plus you have the cli access. The little icons on the bottom left.
Did your actual result match your desired result even with the workaround? That actually sounds less like a workaround and more toward my preferred style of doing things. Small bits. I digress.
Let me clarify this was the unmodfied notebook, I made a copy but I didn't make any code changes until I got the error.. at that point all I did was add some print statements to try figure out what data was being held in the variables..
I've worked with Deforum for about a month now and had no problem using resume in the last version.. Given I didn't change anything and tried this multiple times, I suspect its a bug..
I attached a copy of the notebook in a zip file if you want to take a look..
I did get the results I was looking for, I just wasted a bunch of time getting it sorted out..
Awesome. That definitely clarifies things and will make solving it significantly easier. I definitely didn't want to look at your customized colab. No offense. lol. My favorite thing to do is delete code. So we don't need the zip. It's the current main branch. Cool.
@dustyny - "I did get the results I was looking for, I just wasted a bunch of time getting it sorted out.." Isn't that how it's supposed go? I feel your pain my friend. Herding cats over here... lol
I get the following message when I try to resume training. The input frames directory is the has all the jpgs.. it works perfectly fine if don't try to resume.. including my notebook in case I've made a mistake and missed something. [Deforum_Stable_Diffusion.ipynb.zip](https://github.com/deforum/stable-diffusion/files/9854978/Deforum_Stable_Diffusion.ipynb.zip)
`Exporting Video Frames (1 every 1) frames to /content/drive/MyDrive/AI/StableDiffusion/2022-10/wtf_2nd_render/inputframes... Frames already unpacked Loading 10890 input frames from /content/drive/MyDrive/AI/StableDiffusion/2022-10/wtf_2nd_render/inputframes and saving video frames to /content/drive/MyDrive/AI/StableDiffusion/2022-10/wtf_2nd_render Saving animation frames to /content/drive/MyDrive/AI/StableDiffusion/2022-10/wtf_2nd_render Rendering animation frame 10161 of 10890 /usr/local/lib/python3.7/dist-packages/torch/functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:2894.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
TypeError Traceback (most recent call last) in
550 render_animation(args, anim_args)
551 elif anim_args.animation_mode == 'Video Input':
--> 552 render_input_video(args, anim_args)
553 elif anim_args.animation_mode == 'Interpolation':
554 render_interpolation(args, anim_args)
3 frames in render_input_video(args, anim_args)
394 args.overlay_mask = True
395
--> 396 render_animation(args, anim_args)
397
398 def render_interpolation(args, anim_args):
TypeError: must be real number, not NoneType`