Mercurial > repos > greg > yolo
comparison yolo.xml @ 14:d91971ea456a draft
Uploaded
author | greg |
---|---|
date | Tue, 17 Oct 2017 11:09:08 -0400 |
parents | 7b23bb42fc2a |
children | d88ebe9130f3 |
comparison
equal
deleted
inserted
replaced
13:7b23bb42fc2a | 14:d91971ea456a |
---|---|
6 <command detect_errors="exit_code"><![CDATA[ | 6 <command detect_errors="exit_code"><![CDATA[ |
7 mkdir input_dir && | 7 mkdir input_dir && |
8 mkdir output_dir && | 8 mkdir output_dir && |
9 cp -R /home/greg/_conda/envs/__darknet@1.0/bin/* . && | 9 cp -R /home/greg/_conda/envs/__darknet@1.0/bin/* . && |
10 #for $i in $input: | 10 #for $i in $input: |
11 #set filename = $i.file_name | 11 #set input_filename = $i.file_name |
12 #set name = $i.name | 12 #set name = $i.name |
13 #set output_filename = "%s_predictions.png" % $name | 13 #set output_filename = "%s_predictions.png" % $name |
14 ln -s $input_filename input_dir/$name && | 14 ln -s $input_filename input_dir/$name && |
15 darknet detect cfg/yolo.cfg yolo.weights 'input_dir/$name' -thresh $thresh 2> /dev/null && | 15 darknet detect cfg/yolo.cfg yolo.weights 'input_dir/$name' -thresh $thresh 2> /dev/null && |
16 mv ./predictions.png output_dir/$output_filename | 16 mv ./predictions.png output_dir/$output_filename |