diff --git a/src/data.c b/src/data.c index 6ca558c8..4168e657 100644 --- a/src/data.c +++ b/src/data.c @@ -142,7 +142,7 @@ box_label *read_boxes(char *filename, int *n) box_label *boxes = calloc(1, sizeof(box_label)); FILE *file = fopen(filename, "r"); if (!file) { - printf("Can't open label file. (This can be normal only if you use MSCOCO) \n"); + printf("Can't open label file. (This can be normal only if you use MSCOCO): %s \n", filename); //file_error(filename); FILE* fw = fopen("bad.list", "a"); fwrite(filename, sizeof(char), strlen(filename), fw); diff --git a/src/parser.c b/src/parser.c index 95589216..756d0e52 100644 --- a/src/parser.c +++ b/src/parser.c @@ -971,8 +971,8 @@ void save_weights_upto(network net, char *filename, int cutoff) if(!fp) file_error(filename); int major = 0; - int minor = 1; - int revision = 0; + int minor = 2; + int revision = 5; fwrite(&major, sizeof(int), 1, fp); fwrite(&minor, sizeof(int), 1, fp); fwrite(&revision, sizeof(int), 1, fp);