yolov5_object_detection_mlu270.json 644 B

12345678910111213141516171819202122
  1. {
  2. "detector" : {
  3. "class_name" : "cnstream::Inferencer2",
  4. "parallelism" : 2,
  5. "max_input_queue_size" : 20,
  6. "custom_params" : {
  7. "model_path" : "../data/models/yolov5_4c4b_rgb_270.cambricon",
  8. "func_name" : "subnet0",
  9. // Uncomment the following 2 lines to use cncv
  10. //"preproc_name" : "CNCV",
  11. //"normalize" : true,
  12. "preproc_name" : "VideoPreprocYolov5",
  13. "postproc_name" : "VideoPostprocYolov5",
  14. "keep_aspect_ratio" : "true",
  15. "model_input_pixel_format" : "RGB24",
  16. "batching_timeout" : 100,
  17. "threshold" : 0.6,
  18. "engine_num" : 4,
  19. "device_id" : 0
  20. }
  21. }
  22. }