From 76d99e038faf3d909b5f5f63b2fb5941bf460793 Mon Sep 17 00:00:00 2001 From: Joseph Redmon Date: Fri, 12 Jun 2015 22:35:16 -0700 Subject: [PATCH] pathing --- src/imagenet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/imagenet.c b/src/imagenet.c index a564f332..ef932d16 100644 --- a/src/imagenet.c +++ b/src/imagenet.c @@ -17,7 +17,7 @@ void train_imagenet(char *cfgfile, char *weightfile) //net.seen=0; int imgs = 1024; int i = net.seen/imgs; - char **labels = get_labels("/home/pjreddie/data/imagenet/cls.labels.list"); + char **labels = get_labels("data/inet.labels.list"); list *plist = get_paths("/data/imagenet/cls.train.list"); char **paths = (char **)list_to_array(plist); printf("%d\n", plist->size); @@ -66,9 +66,9 @@ void validate_imagenet(char *filename, char *weightfile) } srand(time(0)); - char **labels = get_labels("/home/pjreddie/data/imagenet/cls.val.labels.list"); + char **labels = get_labels("/data/imagenet/inet.val.labels.list"); + list *plist = get_paths("/data/imagenet/inet.val.list"); - list *plist = get_paths("/data/imagenet/cls.val.list"); char **paths = (char **)list_to_array(plist); int m = plist->size; free_list(plist);