From 7c4a78b86301f780b938f3366bc75232acb1603e Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 22 Jan 2018 16:20:58 +0000
Subject: [PATCH] Replaced '\r' and '\n' by 0x0d and 0x0a

---
 scripts/gen_tactic.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/scripts/gen_tactic.sh b/scripts/gen_tactic.sh
index add131c..ffa30d2 100755
--- a/scripts/gen_tactic.sh
+++ b/scripts/gen_tactic.sh
@@ -1,2 +1,5 @@
 #!/bin/bash
-./darknet rnn generatetactic cfg/gru.cfg peek.weights < $1 2>/dev/null
+# Usage:
+# wget http://pjreddie.com/media/files/peek.weights
+# scripts/gen_tactic.sh < data/goal.txt
+./darknet rnn generatetactic cfg/gru.cfg peek.weights 2>/dev/null

--
Gitblit v1.10.0