From a2666d5b3cfdcbab1e2eb66ca41f8b6835d4ffc8 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Tue, 22 May 2018 15:23:48 +0000
Subject: [PATCH] Fixed replace_image_to_label(): replaces directories only for Pascal VOC and COCO, replaces only extensions for other.

---
 src/network.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/network.h b/src/network.h
index fe160a9..01a6ab9 100644
--- a/src/network.h
+++ b/src/network.h
@@ -138,6 +138,7 @@
 YOLODLL_API detection *make_network_boxes(network *net, float thresh, int *num);
 YOLODLL_API void free_detections(detection *dets, int n);
 YOLODLL_API void reset_rnn(network *net);
+YOLODLL_API network *load_network_custom(char *cfg, char *weights, int clear, int batch);
 YOLODLL_API network *load_network(char *cfg, char *weights, int clear);
 YOLODLL_API float *network_predict_image(network *net, image im);
 YOLODLL_API void train_detector(char *datacfg, char *cfgfile, char *weightfile, int *gpus, int ngpus, int clear, int dont_show);

--
Gitblit v1.10.0