yolov5_object_detection_mlu220.json 704 B

123456789101112131415161718192021222324
  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_220.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" : 50,
  17. "threshold" : 0.5,
  18. "infer_interval": 6,
  19. "show_stats": true,
  20. "engine_num" : 2,
  21. "device_id" : 0
  22. }
  23. }
  24. }