This commit is contained in:
Joseph Redmon 2015-06-12 22:35:16 -07:00
parent d572dc7e66
commit 76d99e038f

View File

@ -17,7 +17,7 @@ void train_imagenet(char *cfgfile, char *weightfile)
//net.seen=0; //net.seen=0;
int imgs = 1024; int imgs = 1024;
int i = net.seen/imgs; 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"); list *plist = get_paths("/data/imagenet/cls.train.list");
char **paths = (char **)list_to_array(plist); char **paths = (char **)list_to_array(plist);
printf("%d\n", plist->size); printf("%d\n", plist->size);
@ -66,9 +66,9 @@ void validate_imagenet(char *filename, char *weightfile)
} }
srand(time(0)); 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); char **paths = (char **)list_to_array(plist);
int m = plist->size; int m = plist->size;
free_list(plist); free_list(plist);