I have the same problem, I have trained Mask RCNN with TF2 Object Detection API and now i find it impossible to optimize the savedmodel for faster inference whatever way i go for e.g OpenCV dnn module, TensorRT, TFLITE, ONNX and so on… Did anynone managed to resolve this issue yet?