tensorflow-yolo
tensorflow-yolo copied to clipboard
what does the weight_loss mean in loss function?
I didn't understand it neither
weight_decay = tf.multiply(tf.nn.l2_loss(var), wd, name='weight_loss')
tf.add_to_collection('losses', weight_decay)
As the code say, there is a weight decay based on L2.