Skip to content

Turning off back-to-back optimizer does not disable fusing batch normalization layers into convolutional layers #1929

Open
@Mypathissional

Description

@Mypathissional

Describe the bug
Hi, I was converting CenterNet(CenterNet HourGlass104 512x512 from Tensorflow Object Detection API(https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_detection_zoo.md) with the Back-to-back optimizer turned off to disable the batchnorm fusion into conv layers following #1702
. The problem is that even though the back-to-back optimizer is turned off the convolutions and batchnorms are still fused together. Where else optimization can occur?
Using tensorflow=2.8.0, onnx=1.11.0, tf2onnx=1.9.3/1190aa and opset 15
image

Metadata

Metadata

Assignees

Labels

kerasIssues related to Keras

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions