mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
This commit is contained in:
parent
9e906d9e21
commit
6e14cc2189
@ -1585,7 +1585,7 @@ void TFImporter::populateNet(Net dstNet)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (type == "FusedBatchNorm")
|
else if (type == "FusedBatchNorm" || type == "FusedBatchNormV3")
|
||||||
{
|
{
|
||||||
// op: "FusedBatchNorm"
|
// op: "FusedBatchNorm"
|
||||||
// input: "input"
|
// input: "input"
|
||||||
|
@ -64,7 +64,7 @@ def createSSDGraph(modelPath, configPath, outputPath):
|
|||||||
# Nodes that should be kept.
|
# Nodes that should be kept.
|
||||||
keepOps = ['Conv2D', 'BiasAdd', 'Add', 'Relu', 'Relu6', 'Placeholder', 'FusedBatchNorm',
|
keepOps = ['Conv2D', 'BiasAdd', 'Add', 'Relu', 'Relu6', 'Placeholder', 'FusedBatchNorm',
|
||||||
'DepthwiseConv2dNative', 'ConcatV2', 'Mul', 'MaxPool', 'AvgPool', 'Identity',
|
'DepthwiseConv2dNative', 'ConcatV2', 'Mul', 'MaxPool', 'AvgPool', 'Identity',
|
||||||
'Sub', 'ResizeNearestNeighbor', 'Pad']
|
'Sub', 'ResizeNearestNeighbor', 'Pad', 'FusedBatchNormV3']
|
||||||
|
|
||||||
# Node with which prefixes should be removed
|
# Node with which prefixes should be removed
|
||||||
prefixesToRemove = ('MultipleGridAnchorGenerator/', 'Concatenate/', 'Postprocessor/', 'Preprocessor/map')
|
prefixesToRemove = ('MultipleGridAnchorGenerator/', 'Concatenate/', 'Postprocessor/', 'Preprocessor/map')
|
||||||
|
Loading…
Reference in New Issue
Block a user