Target detection model for convolutional neural networks