I am creating a RCNN detector for a pre-ground truthed mp4 file, but errors for the layering are popping up, what's happening with the layering?
Here are the errors:
Error using trainFasterRCNNObjectDetector Invalid network.Error in trainDetect (line 151) detector = trainFasterRCNNObjectDetector(trainingData, lgraph, options);Caused by: Network: The network must contain one RPN classification layer. See the documentation for more details about creating Faster R-CNN networks. Network: The network must have two R-CNN box regression layers. See the documentation for more details about creating Faster R-CNN networks. Network: The network must contain one RPN softmax layer. See the documentation for more details about creating Faster R-CNN networks. Network: The network must contain one classification layer. See the documentation for more details about creating Fast or Faster R-CNN networks. Network: Multiple graph components. The layer graph must consist of a single connected component. Initial layers of disconnected components: layer 'input_1' (component with 174 layers) layer 'rpn_conv1' (component with 8 layers) layer 'roiMaxPooling' (component with 4 layers) Layer 'avg_pool': Unconnected output. Each layer output must be connected to the input of another layer. Layer 'regionProposal': Unconnected output. Each layer output must be connected to the input of another layer. Layer 'roiMaxPooling': Unconnected input. Each layer input must be connected to the output of another layer. Layer 'rpn_conv1': Unconnected input. Each layer input must be connected to the output of another layer. Layer 'rpn_reg': Unconnected input. Each layer input must be connected to the output of another layer.