Added Focal Loss to yolo-layer

This commit is contained in:
AlexeyAB
2018-04-05 23:27:02 +03:00
parent be9d971ddb
commit 943f6e874b
5 changed files with 51 additions and 11 deletions

View File

@ -69,6 +69,7 @@ YOLODLL_API Detector::Detector(std::string cfg_filename, std::string weight_file
}
set_batch_network(&net, 1);
net.gpu_index = cur_gpu_id;
fuse_conv_batchnorm(net);
layer l = net.layers[net.n - 1];
int j;