Research Article
DetReco: Object-Text Detection and Recognition Based on Deep Neural Network
Algorithm 2
Detection network training algorithm.
| Input: Parameter_1: The training set . is the number of the batches. is the -th batch of the training set; | | Parameter_2: The labels corresponding to the training images of which format is defined as: | | Output: Weights of the model | | for do | | ifthen | | ; | | else | | | | fordo | | Predict the offsets, objectness and class: | | ; | | ; | | Calculate the loss: | | ; | | Calculate the gradients: | | ; | | Update the model parameters: | | ; | | end for | | end for |
|