Minor fix - filename of chart (Loss & TopK) - training Classifier

pull/5342/head
AlexeyAB 5 years ago
parent 379952208e
commit 6033baabc9
  1. 2
      src/classifier.c

@ -120,7 +120,7 @@ void train_classifier(char *datacfg, char *cfgfile, char *weightfile, int *gpus,
int number_of_lines = 100;
int img_size = 1000;
char windows_name[100];
sprintf(windows_name, "average loss (id:%d)", random_gen());
sprintf(windows_name, "chart_%s.png", base);
if (!dontuse_opencv) img = draw_train_chart(windows_name, max_img_loss, net.max_batches, number_of_lines, img_size, dont_show, chart_path);
#endif //OPENCV

Loading…
Cancel
Save