pool = multiprocessing.Pool(processes=10)
row = [...]
for row in rows:
    task_id = row[1]
    img_id = row[0]
    pool.apply_async(check_picture_contain_human_or_dog, (task_id, img_id))
pool.close()
pool.join()

  

相关文章:

  • 2021-08-11
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-06
  • 2022-12-23
  • 2023-03-19
  • 2022-02-13
  • 2021-06-29
相关资源
相似解决方案