Mercurial > repos > greg > yolo
comparison yolo.xml @ 8:da04a9890937 draft
Uploaded
author | greg |
---|---|
date | Tue, 17 Oct 2017 10:40:23 -0400 |
parents | bf7605fdba9c |
children | 0206a6a1b89e |
comparison
equal
deleted
inserted
replaced
7:bf7605fdba9c | 8:da04a9890937 |
---|---|
2 <description>real-time object detection</description> | 2 <description>real-time object detection</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="1.0">darknet</requirement> | 4 <requirement type="package" version="1.0">darknet</requirement> |
5 </requirements> | 5 </requirements> |
6 <command detect_errors="exit_code"><![CDATA[ | 6 <command detect_errors="exit_code"><![CDATA[ |
7 cp -R /home/greg/_conda/envs/__darknet@1.0/bin/* . && | 7 mkdir output && |
8 darknet detect cfg/yolo.cfg yolo.weights '$input' -thresh $thresh 2> $output_log | 8 cp -R /home/greg/_conda/envs/__darknet@1.0/bin/* . && |
9 && mv ./predictions.png $output | 9 darknet detect cfg/yolo.cfg yolo.weights '$input' -thresh $thresh 2> /dev/null |
10 && mv ./predictions.png output | |
10 ]]></command> | 11 ]]></command> |
11 <inputs> | 12 <inputs> |
12 <param name="input" type="data" format="jpg,png" label="Select input image" /> | 13 <param name="input" format="jpg" type="data_collection" collection_type="list" label="Collection of image files" /> |
13 <param name="thresh" type="float" value="0.25" label="Object detection threshold" /> | 14 <param name="thresh" type="float" value="0.25" label="Object detection threshold" /> |
14 </inputs> | 15 </inputs> |
15 <outputs> | 16 <outputs> |
16 <data name="output_log" format="txt" label="${tool.name} darknet output log) on ${on_string}" /> | 17 <collection name="output" type="list"> |
17 <data name="output" format="png"/> | 18 <discover_datasets pattern="__name__" directory="output" format="png" /> |
19 </collection> | |
18 </outputs> | 20 </outputs> |
19 <tests> | 21 <tests> |
20 <test> | 22 <test> |
21 </test> | 23 </test> |
22 </tests> | 24 </tests> |