input_type: INPUT_TYPE_ONNX output_type: OUTPUT_TYPE_JOINT # Hardware platform selection target_hardware: TARGET_HARDWARE_AX620 # CPU cpu_backend_settings { onnx_setting { mode: DISABLED } axe_setting { mode: ENABLED axe_param { optimize_slim_model: true } } } # mean/std needs to be filled in the order of BGR # input_normalization { # mean: [0.485, 0.456, 0.406] # mean # std: [0.229, 0.224, 0.255] # std #} #Convert BGR cv2 to BGR src_input_tensors { color_space: TENSOR_COLOR_SPACE_RGB } dst_input_tensors { color_space: TENSOR_COLOR_SPACE_RGB } neuwizard_conf { operator_conf { input_conf_items { attributes { type: FLOAT32 # Here it is agreed that the compiled model will have float32 as the input type } } } dataset_conf_calibration { path: "./../dataset/w600_mbf_tar_input.1.tar" # Set the path to the PTQ calibration dataset type: DATASET_TYPE_TAR size: 316 # Quantify the actual number of images used in the calibration process batch_size: 1 } dataset_conf_error_measurement { path: "./../dataset/w600_mbf_tar_input.1.tar" # Set the path to the PTQ calibration dataset type: DATASET_TYPE_TAR size: 4 } evaluation_conf { path: "neuwizard.evaluator.error_measure_evaluator" type: EVALUATION_TYPE_ERROR_MEASURE source_ir_types: IR_TYPE_ONNX ir_types: IR_TYPE_LAVA score_compare_per_layer: true } } pulsar_conf { ax620_virtual_npu: AX620_VIRTUAL_NPU_MODE_111 batch_size: 1 debug : false }