coco_pose_mlu270.json 774 B

12345678910111213141516171819202122232425262728
  1. {
  2. "body_pose" : {
  3. "class_name" : "cnstream::Inferencer",
  4. "parallelism" : 1,
  5. "max_input_queue_size" : 20,
  6. "next_modules" : ["pose_osd"],
  7. "custom_params" : {
  8. "model_path" : "../../../data/models/coco_pose_b4c4_bgra_mlu270.cambricon",
  9. "func_name" : "subnet0",
  10. "postproc_name" : "PostprocCOCOPose",
  11. "model_input_pixel_format" : "BGRA32",
  12. "keep_aspect_ratio" : true,
  13. "data_order" : "NCHW",
  14. "batching_timeout" : 100,
  15. "device_id" : 0
  16. }
  17. },
  18. "pose_osd" : {
  19. "class_name" : "cns_openpose::PoseOsd",
  20. "parallelism" : 1,
  21. "max_input_queue_size" : 20,
  22. "custom_params" : {
  23. "nkeypoints" : 18, // coco has 18 keypoints, ignore background
  24. "nlimbs" : 19 // coco has 19 limbs
  25. }
  26. }
  27. }