MCPcopy
hub / github.com/Rudrabha/Wav2Lip / mp_handler

Function mp_handler

preprocess.py:82–89  ·  view source on GitHub ↗
(job)

Source from the content-addressed store, hash-verified

80
81
82def mp_handler(job):
83 vfile, args, gpu_id = job
84 try:
85 process_video_file(vfile, args, gpu_id)
86 except KeyboardInterrupt:
87 exit(0)
88 except:
89 traceback.print_exc()
90
91def main(args):
92 print('Started processing for {} with {} GPUs'.format(args.data_root, args.ngpu))

Callers

nothing calls this directly

Calls 1

process_video_fileFunction · 0.85

Tested by

no test coverage detected