From 92b25a72006a77073ee99dc69557ce0cde01cc3c Mon Sep 17 00:00:00 2001 From: iovodov <b@ovdv.ru> Date: Thu, 03 May 2018 09:43:48 +0000 Subject: [PATCH] FIX #736: Detector does not draw rects for images with small resolutions --- src/convolutional_layer.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/convolutional_layer.h b/src/convolutional_layer.h index 970aa10..6d1e517 100644 --- a/src/convolutional_layer.h +++ b/src/convolutional_layer.h @@ -20,7 +20,8 @@ void add_bias_gpu(float *output, float *biases, int batch, int n, int size); void backward_bias_gpu(float *bias_updates, float *delta, int batch, int n, int size); #ifdef CUDNN -void cudnn_convolutional_setup(layer *l); +void cudnn_convolutional_setup(layer *l, int cudnn_preference); +void cuda_convert_f32_to_f16(float* input_f32, size_t size, float *output_f16); #endif #endif -- Gitblit v1.10.0