Version 0.2.5 )

This commit is contained in:
AlexeyAB
2018-10-03 23:45:06 +03:00
parent 6c8642b3eb
commit 0cf56d1ccf
2 changed files with 3 additions and 3 deletions

View File

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

View File

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