1234567891011121314151617181920212223 |
- {
- "detector" : {
- "class_name" : "cnstream::Inferencer2",
- "parallelism" : 2,
- "max_input_queue_size" : 20,
- "custom_params" : {
- "model_path" : "../../../data/models/yolov5_4c4b_rgb_220.cambricon",
- "func_name" : "subnet0",
- // Uncomment the following 2 lines to use cncv
- // "preproc_name" : "CNCV",
- // "normalize" : true,
- "preproc_name" : "VideoPreprocYolov5",
- "postproc_name" : "VideoPostprocYolov5",
- "keep_aspect_ratio" : "true",
- "model_input_pixel_format" : "RGB24",
- "batching_timeout" : 100,
- "threshold" : 0.4,
- "engine_num" : 3,
- "device_id" : 0
- }
- }
- }
-
|