26 "/apollo/modules/perception/data/params",
27 "The intrinsics/extrinsics dir.");
30 "The SensorManager config file.");
32DEFINE_bool(enable_base_object_pool,
false,
"Enable base object pool.");
35DEFINE_string(config_manager_path,
"./",
"The ModelConfig config paths.");
37 "Project work root direcotry.");
41 "/apollo/modules/perception/camera"
42 "/lib/obstacle/detector/yolov4/model/yolov4_1_3_416_416.onnx",
43 "The onnx model file for emergency detection");
45 "/apollo/modules/perception/inference"
46 "/onnx/testdata/dog.jpg",
47 "The test input image file for onnx inference");
49 "/apollo/modules/perception/inference"
50 "/onnx/testdata/coco.names",
51 "The test input coco name file for onnx inference");
53 "/apollo/modules/perception/inference"
54 "/onnx/testdata/prediction.jpg",
55 "The prediction output image file for onnx inference");
56DEFINE_int32(num_classes, 80,
"number of classes for onnx inference");
60 "/apollo/modules/perception/camera"
61 "/lib/obstacle/detector/yolov4/model/yolov4.pt",
62 "The torch model file for emergency detection");
68 "object template config file");
73DEFINE_bool(use_trt,
false,
"True if preprocess in CPU mode.");
75 "Precision type of tensorrt, 0: kFloat32, 1: kInt8, 2: kHalf");
78 "Whether to load the tensorrt graph optimization from a disk path");
79DEFINE_bool(use_calibration,
true,
"Whether to use calibration table");
81 "Whether to collect dynamic shape before using tensorrt");
83 "Whether to use dynamic shape when using tensorrt");
85 "/apollo/modules/perception/data/models/"
86 "center_point_paddle/collect_shape_info_3lidar_20.pbtxt",
87 "Path of a dynamic shape file for tensorrt");
91 "scene manager config file");
92DEFINE_string(roi_service_file,
"roi_service.conf",
"roi service config file");
94 "ground service config file");
98 "True if should short-miss-detection-but-track-output");
106 "True if reserve trafficCone when in host-car-blind-zone");
DEFINE_double(x_front, 3.0, "reserve range smaller than X")
DEFINE_int32(num_classes, 80, "number of classes for onnx inference")
DEFINE_bool(enable_base_object_pool, false, "Enable base object pool.")
DEFINE_string(obs_sensor_intrinsic_path, "/apollo/modules/perception/data/params", "The intrinsics/extrinsics dir.")