From 1b1221ace5f49b5b464cf7f4ff89f31cf03d3da1 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Fri, 06 Apr 2018 20:58:32 +0000 Subject: [PATCH] Minor fix for Web Cam on OpenCV 3.x --- 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