# HG changeset patch
# User greg
# Date 1508422066 14400
# Node ID f191e0b8fa1d589aa9cc000317bae9a5a2ad7714
# Parent 53a9c312fe7add58ae1fadeef47ba73179d1961e
Uploaded
diff -r 53a9c312fe7a -r f191e0b8fa1d yolo.xml
--- a/yolo.xml Thu Oct 19 10:01:49 2017 -0400
+++ b/yolo.xml Thu Oct 19 10:07:46 2017 -0400
@@ -12,12 +12,9 @@
#if str($input_type_cond.input_type) == 'image':
#set input_filename = $input.file_name
#set full_name = $input.name
- #set head = $full_name.split('.')[0]
- #set output_filename_png = '%s_predictions.png' % $head
- #set output_filename_shape_confidence = '%s_shape_detection_confidence.tabular' % $head
&& ln -s $input_filename input_dir/$full_name
- && darknet detect cfg/yolo.cfg yolo.weights 'input_dir/$full_name' -thresh $thresh > output_shape_confidence_dir/$output_filename_shape_confidence
- && mv ./predictions.png output_png_dir/$output_filename_png
+ && darknet detect cfg/yolo.cfg yolo.weights 'input_dir/$full_name' -thresh $thresh > $output_shape_confidence
+ && mv ./predictions.png $output_shape
#else:
#for $i in $input:
#set input_filename = $i.file_name
@@ -45,21 +42,21 @@
-
+
- input_type_cond['input_type'] == 'image' and output_shape_confidence == 'yes'
+ input_type_cond['input_type'] == 'image' and output_shape_confidence_log == 'yes'
input_type_cond['input_type'] == 'image'
- input_type_cond['input_type'] == 'images' and output_shape_confidence == 'yes'
+ input_type_cond['input_type'] == 'images' and output_shape_confidence_log == 'yes'