deforum-art / sd-webui-deforum

Deforum extension for AUTOMATIC1111's Stable Diffusion webui
https://deforum.github.io
Other
2.69k stars 389 forks source link

RIFE errors when save_depth_maps is on #278

Closed kabachuha closed 1 year ago

kabachuha commented 1 year ago
Traceback (most recent call last):
  File "/home/kabachuha/kml/kek/stable-diffusion-webui/modules/call_queue.py", line 56, in f
    res = list(func(*args, **kwargs))
  File "/home/kabachuha/kml/kek/stable-diffusion-webui/modules/call_queue.py", line 37, in f
  File "/home/kabachuha/kml/kek/stable-diffusion-webui/extensions/deforum/scripts/deforum.py", line 239, in run_deforum
    process_video_interpolation(video_args.frame_interpolation_engine, video_args.frame_interpolation_x_amount, video_args.frame_interpolation_slow_mo_amount, video_args.fps, root.models_path, real_audio_track, args.outdir, args.timestring, video_args.ffmpeg_location, video_args.ffmpeg_crf, video_args.ffmpeg_preset, video_args.frame_interpolation_keep_imgs)
  File "/home/kabachuha/kml/kek/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/frame_interpolation.py", line 39, in process_video_interpolation
    run_rife_new_video_infer(interp_x_amount=interp_amount_clean_num, slow_mo_x_amount=interp_slow_mo_clean_num, output=None, model=actual_model_folder_name, fps=fps, deforum_models_path=deforum_models_path, audio_track=real_audio_track, raw_output_imgs_path=raw_output_imgs_path, img_batch_id=img_batch_id, ffmpeg_location=ffmpeg_location, ffmpeg_crf=ffmpeg_crf, ffmpeg_preset=ffmpeg_preset, keep_imgs=keep_interp_imgs)
  File "/home/kabachuha/kml/kek/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/src/rife/inference_video.py", line 104, in run_rife_new_video_infer
    videogen.sort(key= lambda x:int(x[:-4]))
  File "/home/kabachuha/kml/kek/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/src/rife/inference_video.py", line 104, in <lambda>
    videogen.sort(key= lambda x:int(x[:-4]))
ValueError: invalid literal for int() with base 10: '20230130153356_depth_00190'
hithereai commented 1 year ago

Seems like an easy fix, I will handle it.

hithereai commented 1 year ago

fixed in https://github.com/deforum-art/deforum-for-automatic1111-webui/pull/280