(job)
| 80 | |
| 81 | |
| 82 | def 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 | |
| 91 | def main(args): |
| 92 | print('Started processing for {} with {} GPUs'.format(args.data_root, args.ngpu)) |
nothing calls this directly
no test coverage detected