changeset 28:c6a40cb624d6 draft

Uploaded
author greg
date Thu, 19 Oct 2017 10:43:08 -0400
parents b416787d41b0
children e7f28250afa8
files yolo.xml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/yolo.xml	Thu Oct 19 10:36:17 2017 -0400
+++ b/yolo.xml	Thu Oct 19 10:43:08 2017 -0400
@@ -12,9 +12,9 @@
     #set full_name = $input.name
     && ln -s $input_filename input_dir/$full_name
     #if str($output_shape_confidence_log) == 'yes':
-        && darknet detect cfg/yolo.cfg yolo.weights 'input_dir/$full_name' -thresh $thresh 2> $output_shape_confidence
+        && darknet detect cfg/yolo.cfg yolo.weights 'input_dir/$full_name' -thresh $thresh > $output_shape_confidence 2>&1
     #else:
-        && darknet detect cfg/yolo.cfg yolo.weights 'input_dir/$full_name' -thresh $thresh 2> /dev/null
+        && darknet detect cfg/yolo.cfg yolo.weights 'input_dir/$full_name' -thresh $thresh > /dev/null 2>&1
     #end if
     && mv ./predictions.png $output_shape
 #else: