AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.75k stars 7.96k forks source link

learning rate #258

Open zazada opened 7 years ago

zazada commented 7 years ago

Hi, could you please tell me how to set a different learning rate for each layers? And, how can i modify the cfg file to add another convolutional layer between two nonadjacent layers such as layer5 and layer7, and initialize with random parameters? Thank you!

AlexeyAB commented 7 years ago

@zazada Hi, you can't set a different learning rate for each layers without source code changing.


What do you mean about "add another convolutional layer between two nonadjacent layers such as layer5 and layer7"?

zazada commented 7 years ago

Thank you very much :)

MyVanitar commented 6 years ago

@AlexeyAB

Do you have any idea why using a deeper network does not improve the detection accuracy that much?

AlexeyAB commented 6 years ago

@VanitarNordic No, I have no ideas. Because theoretically, at least one of the models densenet201_yolo2.cfg or resnet50_yolo.cfg should have better accuracy than yolo-voc.cfg/yolo-voc.2.0.cfg: https://github.com/AlexeyAB/darknet/issues/179#issuecomment-330047738

Maybe this is somehow related to that in Yolo for some outputs used soft-max() * logistic_activation(), for some logistic_activation(), for some exp() * const - in contrast to one the same activation function for all outputs in classification networks.