Version 0.2.5 )

pull/1724/head
AlexeyAB 7 years ago
parent 6c8642b3eb
commit 0cf56d1ccf
  1. 2
      src/data.c
  2. 4
      src/parser.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);

@ -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);

Loading…
Cancel
Save