65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
[
|
|
{
|
|
"custom_attributes": {
|
|
},
|
|
"id": "ObjectDetectionAPIPreprocessorReplacement",
|
|
"inputs": [
|
|
[
|
|
{
|
|
"node": "map/Shape$",
|
|
"port": 0
|
|
},
|
|
{
|
|
"node": "map/TensorArrayUnstack/Shape$",
|
|
"port": 0
|
|
},
|
|
{
|
|
"node": "map/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3$",
|
|
"port": 2
|
|
}
|
|
]
|
|
],
|
|
"instances": [
|
|
".*Preprocessor/"
|
|
],
|
|
"match_kind": "scope",
|
|
"outputs": [
|
|
{
|
|
"node": "sub$",
|
|
"port": 0
|
|
},
|
|
{
|
|
"node": "map/TensorArrayStack_1/TensorArrayGatherV3$",
|
|
"port": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"custom_attributes": {
|
|
"code_type": "caffe.PriorBoxParameter.CENTER_SIZE",
|
|
"pad_mode": "caffe.ResizeParameter.CONSTANT",
|
|
"resize_mode": "caffe.ResizeParameter.WARP",
|
|
"clip_before_nms": false,
|
|
"clip_after_nms": true
|
|
},
|
|
"id": "ObjectDetectionAPISSDPostprocessorReplacement",
|
|
"include_inputs_to_sub_graph": true,
|
|
"include_outputs_to_sub_graph": true,
|
|
"instances": {
|
|
"end_points": [
|
|
"detection_boxes",
|
|
"detection_scores",
|
|
"num_detections"
|
|
],
|
|
"start_points": [
|
|
"Postprocessor/Shape",
|
|
"Postprocessor/scale_logits",
|
|
"Postprocessor/Tile",
|
|
"Postprocessor/Reshape_1",
|
|
"Postprocessor/Cast"
|
|
]
|
|
},
|
|
"match_kind": "points"
|
|
}
|
|
]
|