Adjust comment
This commit is contained in:
parent
3747fc2301
commit
b116f2001a
@ -209,8 +209,9 @@ def start(preview_callback = None):
|
|||||||
process_video_multi_cores(args.source_img, args.frame_paths)
|
process_video_multi_cores(args.source_img, args.frame_paths)
|
||||||
else:
|
else:
|
||||||
process_video(args.source_img, args.frame_paths)
|
process_video(args.source_img, args.frame_paths)
|
||||||
|
# prevent out of memory while using ffmpeg with cuda
|
||||||
if args.gpu_vendor == 'nvidia':
|
if args.gpu_vendor == 'nvidia':
|
||||||
torch.cuda.empty_cache() # prevent CUDA OOM when using ffmpeg cuda accel
|
torch.cuda.empty_cache()
|
||||||
status("creating video...")
|
status("creating video...")
|
||||||
create_video(video_name, exact_fps, output_dir)
|
create_video(video_name, exact_fps, output_dir)
|
||||||
status("adding audio...")
|
status("adding audio...")
|
||||||
|
Loading…
Reference in New Issue
Block a user