From cdd1cb0e8c4fda3671714bb5ad6ba1825cff16d1 Mon Sep 17 00:00:00 2001
From: Puneet Kohli <punkohl@gmail.com>
Date: Sun, 06 May 2018 21:45:26 +0000
Subject: [PATCH] Change matplotlib backend to 'agg' when 'show_plot' is false. This allows the script to be run from command line without any errors (for ex, on a remote machine)
---
src/swag.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/swag.c b/src/swag.c
index f06db4c..2cb3093 100644
--- a/src/swag.c
+++ b/src/swag.c
@@ -14,7 +14,6 @@
char *train_images = "data/voc.0712.trainval";
char *backup_directory = "/home/pjreddie/backup/";
srand(time(0));
- data_seed = time(0);
char *base = basecfg(cfgfile);
printf("%s\n", base);
float avg_loss = -1;
--
Gitblit v1.10.0