yolov5_object_detection_mlu220.json 711 B

1234567891011121314151617181920212223
  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/yolov5sm_best8_flock_s13_38_900epochs_int16_20240613_4b_4c.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.6,
  18. "infer_interval": 6,
  19. "engine_num" : 2,
  20. "device_id" : 0
  21. }
  22. }
  23. }