From 5920e0a1fff7990d84eacf37aebd36d8ca25e560 Mon Sep 17 00:00:00 2001 From: Joseph Redmon Date: Mon, 24 Feb 2014 12:36:02 -0800 Subject: [PATCH] Feature extraction using Imagenet --- src/tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests.c b/src/tests.c index 91ee4bf9..557f0fbf 100644 --- a/src/tests.c +++ b/src/tests.c @@ -456,7 +456,7 @@ image features_output_size(network net, IplImage *src, int outh, int outw) void features_VOC(int part, int total) { int i,j, count = 0; - network net = parse_network_cfg("cfg/voc_features.cfg"); + network net = parse_network_cfg("cfg/voc_imagenet.cfg"); char *path_file = "images/VOC2012/all_paths.txt"; char *out_dir = "voc_features/"; list *paths = get_paths(path_file); @@ -529,7 +529,7 @@ void features_VOC(int part, int total) void features_VOC_image(char *image_file, char *image_dir, char *out_dir) { int i,j; - network net = parse_network_cfg("cfg/imagenet.cfg"); + network net = parse_network_cfg("cfg/voc_imagenet.cfg"); char image_path[1024]; sprintf(image_path, "%s%s",image_dir, image_file); char out_path[1024];