{ "model_info": { "input_onnx_file": "/data1/yolov5s_e.onnx", //must, where is the model "model_inputs": [{ "model_input_name": "data_out_0" , // For knerex "input_image_folder": "/data1/100_image/yolov5", // For knerex },{ "model_input_name": "data_out_1" , // For knerex "input_image_folder": "/data1/100_image/yolov5", // For knerex }], "quantize_mode": "default", // For knerex, optional, could be default or post_sigmoid "outlier": 0.999 // For knerex, rm outliers when calculating max & min. It should be <= 1.0. If not given, default is 0.999. }, "preprocess": { "img_preprocess_method": "kneron", //should we provide definition of each option "img_channel": "RGB", //RGB, BGR, ... "radix": 8, "keep_aspect_ratio": true, //optional "pad_mode": 1, //optional pad mode "p_crop": { //optional "crop_x": 0, "crop_y": 0, "crop_w": 0, "crop_h": 0 } }, "simulator_img_files": [{ "model_input_name": "data_out" , // For simulator "input_image": "/data1/100_image/yolov5/a.jpg", // For simulator }] //optional }