From b8e6e80c6d411d05a9e09f1e3676eb9a7f3ea0e8 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Fri, 03 Aug 2018 11:35:03 +0000 Subject: [PATCH] Added spatial Yolo v3 yolov3-spp.cfg --- src/layer.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/layer.c b/src/layer.c index b88c941..3b47917 100644 --- a/src/layer.c +++ b/src/layer.c @@ -11,6 +11,7 @@ #endif return; } + if (l.mask) free(l.mask); if (l.cweights) free(l.cweights); if (l.indexes) free(l.indexes); if (l.input_layers) free(l.input_layers); @@ -83,6 +84,8 @@ if (l.x_norm_gpu) cuda_free(l.x_norm_gpu); if (l.weights_gpu) cuda_free(l.weights_gpu); if (l.weight_updates_gpu) cuda_free(l.weight_updates_gpu); + if (l.weights_gpu16) cuda_free(l.weights_gpu16); + if (l.weight_updates_gpu16) cuda_free(l.weight_updates_gpu16); if (l.biases_gpu) cuda_free(l.biases_gpu); if (l.bias_updates_gpu) cuda_free(l.bias_updates_gpu); if (l.scales_gpu) cuda_free(l.scales_gpu); -- Gitblit v1.10.0