Hello everyone. I’ve been trying to run trt inference with caffe pretrained models. Everything seems to be working great except for densenets. I get the following:
[TensorRT] INFO: Detecting Framework [TensorRT] INFO: Parsing Model from caffe [libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format ditcaffe.NetParameter: 54:14: Message type "ditcaffe.PoolingParameter" has no field named "ceil_mode". [TensorRT] ERROR: CaffeParser: Could not parse deploy file [TensorRT] INFO: Parsing caffe model deploy.prototxt, densenet_121.caffemodel [TensorRT] ERROR: Failed to parse caffe model
Apparently ceil_mode is not supported. I figured since this model is made and saved in caffe, then the problem lies in tensorrt or cudnn not being able to parse this layer. Can anyone help me with fixing that? I see some people here: https://github.com/BVLC/caffe/pull/3057/files tried to solve a similar problem, but since I have no access to caffe code, only the .caffemodel file along with .prototxt, I need to find a different workaround. I’ll be grateful for any help.