From 0cf56d1ccff5a21c29ded56f2c66dc785ff5f42b Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Wed, 3 Oct 2018 23:45:06 +0300 Subject: [PATCH] Version 0.2.5 ) --- src/data.c | 2 +- src/parser.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);