mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
pathing
This commit is contained in:
parent
d572dc7e66
commit
76d99e038f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user