yolov5_object_detection_test.json 696 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/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" : 100,
  17. "threshold" : 0.4,
  18. "engine_num" : 3,
  19. "device_id" : 0
  20. }
  21. }
  22. }