Headers are important

This commit is contained in:
Joseph Redmon
2015-08-01 17:26:53 -07:00
parent 0b4c38f631
commit f11480833d
6 changed files with 8 additions and 5 deletions

View File

@ -110,13 +110,12 @@ void train_coco(char *cfgfile, char *weightfile)
save_weights(net, buff);
return;
}
if(i%1000==0 || 1){
if(i%1000==0){
char buff[256];
sprintf(buff, "%s/%s_%d.weights", backup_directory, base, i);
save_weights(net, buff);
}
free_data(train);
return;
}
char buff[256];
sprintf(buff, "%s/%s_final.weights", backup_directory, base);