When I changed a Faster RCNN model with ZF feature extractor (trained with Caffe) in TensorRT 4, I got the following error:
Weights for layer rpn_conv/3x3 doesn't exist ERROR: CaffeParser: ERROR: Attempting to access NULL weights Weights for layer rpn_conv/3x3 doesn't exist ERROR: CaffeParser: ERROR: Attempting to access NULL weights ERROR: Parameter check failed at: ../builder/Network.cpp::addConvolution::40, condition: kernelWeights.values != NULL error parsing layer type Convolution index 14 End parsing model...
The input image size of the ZF model I used is 224x 224, after the final convolution, the size of feature map is 15x 15. I’m wondering if 15x 15 is too small for layer rpn_con/3x3, since the default input size to VGG16 feature extractor is 375x 500, whose feature map is 24x 32.
The following link contains the model and .prototxt I used: