mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Added Focal loss. Use focal_loss=1 in the [region] layer in your cfg-file.
alpha = 0.5, gamma = 2
This commit is contained in:
@ -85,6 +85,7 @@ struct layer{
|
||||
float exposure;
|
||||
float shift;
|
||||
float ratio;
|
||||
int focal_loss;
|
||||
int softmax;
|
||||
int classes;
|
||||
int coords;
|
||||
|
Reference in New Issue
Block a user