yolov5_object_test.json 719 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" : 100,
  17. "threshold" : 0.5,
  18. "infer_interval": 6,
  19. "engine_num" : 2,
  20. "device_id" : 0
  21. }
  22. }
  23. }