Mercurial > repos > bgruening > yolo_predict
annotate yolo_prediction.xml @ 4:e93df15bbd79 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
| author | bgruening |
|---|---|
| date | Mon, 21 Jul 2025 15:50:37 +0000 |
| parents | c5003f152e3e |
| children |
| rev | line source |
|---|---|
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
1 <tool id="yolo_predict" name="Perform YOLO image labeling" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.2"> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
2 <description>with ultralytics</description> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
3 <macros> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
5 </macros> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
6 <expand macro="creator" /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
7 <expand macro="edam" /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
8 <expand macro="requirements" /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
9 <command detect_errors="aggressive"> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
10 <![CDATA[ |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
11 export YOLO_CONFIG_DIR="\$HOME/.config/ultralytics" && |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
12 |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
13 mkdir -p ./input_images ./runs ./models ./results && |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
14 |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
15 #for $filename in $input_images: |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
16 ln -s '$filename' './input_images/${filename.element_identifier}.${filename.ext}' && |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
17 #end for |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
18 |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
19 cp '$class_name' './models/class_name.txt' && |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
20 |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
21 cp '$model' './models/model.pt' && |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
22 |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
23 python '$__tool_directory__/yolov8.py' |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
24 --test_path='./input_images' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
25 --model_path='./models' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
26 --model_name='model' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
27 --run_dir='./runs' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
28 --save_dir='./results' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
29 --image_size='$image_size' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
30 --mode='$mode' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
31 --foldername='overlaid_images' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
32 --class_names_file='$class_name' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
33 --num_classes=`wc -l < ./models/class_name.txt` |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
34 --confidence='$confidence' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
35 --iou='$iou' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
36 --max_det='$max_det' |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
37 --headless |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
38 ]]> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
39 </command> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
40 <inputs> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
41 <param name="input_images" type="data" format="jpg,png" multiple="true" label="Input images"/> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
42 <param name="class_name" type="data" format="txt" label="YOLO class name file" /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
43 <param name="model" type="data" format="data" label="Model file" /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
44 <param name="mode" type="select" label="Prediction mode"> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
45 <option value="segment">segment</option> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
46 <option value="detect">detect</option> |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
47 </param> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
48 <param name="image_size" type="integer" value="1000" min="16" label="Image size" help="All input images will be re-sized to squares with sides of this length (in pixels). This value governs the trade-offs of speed (smaller values) vs accuracy (larger values)." /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
49 <param name="confidence" type="float" value="0.5" min="0.0" max="1.0" label="Confidence" help="Confidence value (0-1) for each detected bounding box." /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
50 <param name="iou" type="float" value="0.7" min="0.1" max="1.0" label="IoU" help="Intersection over Union threshold for non-maximum suppression." /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
51 <param name="max_det" type="integer" value="300" min="100" max="1000" label="Max. number of detections" help="Maximum number of detections allowed per image. Limits the total number of objects the model can detect in a single inference, preventing excessive outputs in dense scenes." /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
52 </inputs> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
53 <outputs> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
54 <collection name="txt_results" format="txt" type="list" label="YOLO bounding box and annotation (text)"> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
55 <discover_datasets pattern="(?P<designation>.+)\.txt$" directory="results" /> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
56 </collection> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
57 <collection name="mask_results" format="tiff" type="list" label="YOLO segmentation masks (TIFF)"> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
58 <filter>mode == 'segment'</filter> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
59 <discover_datasets pattern="(?P<designation>.+)_mask\.tiff$" directory="results" /> |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
60 </collection> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
61 <collection name="overlay_results" format="jpg" type="list" label="YOLO annotated images"> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
62 <discover_datasets pattern="(?P<designation>.+)\.jpg$" directory="runs/overlaid_images" /> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
63 </collection> |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
64 </outputs> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
65 <tests> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
66 <test expect_num_outputs="3"> |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
67 <param name="input_images" value="pred-test01.jpg" /> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
68 <param name="model" location="https://zenodo.org/records/15611468/files/best.pt" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
69 <param name="image_size" value="512" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
70 <param name="confidence" value="0.003" /> |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
71 <param name="iou" value="0.7" /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
72 <param name="max_det" value="100" /> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
73 <param name="mode" value="segment" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
74 <param name="class_name" value="class_name.txt" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
75 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
76 <output_collection name="txt_results" type="list" count="1"> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
77 <element name="pred-test01.jpg"> |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
78 <assert_contents> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
79 <has_n_lines n="100"/> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
80 </assert_contents> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
81 </element> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
82 </output_collection> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
83 |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
84 <output_collection name="mask_results" type="list" count="1"> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
85 <element name="pred-test01.jpg"> |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
86 <assert_contents> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
87 <has_image_width width="512"/> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
88 <has_image_height height="1024"/> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
89 <has_image_channels channels="1"/> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
90 </assert_contents> |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
91 </element> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
92 </output_collection> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
93 <output_collection name="overlay_results" type="list" count="1"> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
94 <element name="pred-test01.jpg"> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
95 <assert_contents> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
96 <has_image_width width="512"/> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
97 <has_image_height height="1024"/> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
98 <has_image_channels channels="3"/> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
99 </assert_contents> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
100 </element> |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
101 </output_collection> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
102 |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
103 </test> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
104 <!--new version's test--> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
105 <!-- SEGMENT MODE TEST --> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
106 |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
107 <test expect_num_outputs="3"> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
108 <param name="input_images" value="bus.jpg" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
109 <param name="class_name" value="yolo-test-classes.txt" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
110 <param name="model" location="https://github.com/ultralytics/assets/releases/download/v8.3.0/yolov8n-seg.pt" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
111 <param name="mode" value="segment" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
112 <param name="image_size" value="640" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
113 <param name="confidence" value="0.25" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
114 <param name="iou" value="0.45" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
115 <param name="max_det" value="300" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
116 <output_collection name="txt_results" type="list" count="1"> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
117 <element name="bus.jpg" file="bus.txt" compare="sim_size" /> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
118 </output_collection> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
119 <output_collection name="mask_results" type="list" count="1"> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
120 <element name="bus.jpg" file="bus_mask.tiff" compare="sim_size" /> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
121 </output_collection> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
122 <output_collection name="overlay_results" type="list" count="1"> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
123 <element name="bus.jpg" file="bus_seg.jpg" compare="sim_size" /> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
124 </output_collection> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
125 </test> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
126 |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
127 <!-- DETECT MODE TEST --> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
128 |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
129 <test expect_num_outputs="2"> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
130 <param name="input_images" value="bus.jpg" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
131 <param name="class_name" value="yolo-test-classes.txt" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
132 <param name="model" location="https://github.com/ultralytics/assets/releases/download/v8.3.0/yolov8n-seg.pt" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
133 <param name="mode" value="detect" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
134 <param name="image_size" value="640" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
135 <param name="confidence" value="0.25" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
136 <param name="iou" value="0.45" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
137 <param name="max_det" value="300" /> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
138 <output_collection name="txt_results" type="list" count="1"> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
139 <element name="bus.jpg" file="bus_detect.txt" compare="sim_size" /> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
140 </output_collection> |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
141 <output_collection name="overlay_results" type="list" count="1"> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
142 <element name="bus.jpg" file="bus_seg.jpg" compare="sim_size" /> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
143 </output_collection> |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
144 </test> |
|
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
145 |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
146 </tests> |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
147 |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
148 <help><![CDATA[ |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
149 **Overview** |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
150 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
151 This Galaxy tool performs object detection or instance segmentation on input images using a **pre-trained YOLOv8 model** from the **Ultralytics** framework. |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
152 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
153 --- |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
154 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
155 **Prediction Mode** |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
156 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
157 Choose from two available options using the **mode** parameter: |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
158 |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
159 - **detect** – Use this if your pre-trained/trained model is a detection model. It outputs bounding boxes coordinates, class IDs, and confidence scores and overlay images with bounding boxes. |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
160 |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
161 - **segment** – Use this if your pre-trained/trained model is a segmentation model. It outputs text file containing polygons coordinates, class IDs and confidence score and overlaid images with bounding boxes and mask images. |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
162 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
163 ⚠️ **Important:** The selected mode must match the type of the model you upload. For example, if you are using a segmentation model (`*-seg.pt`), you must select `segment` mode. Using a mismatched mode and model will lead to errors or empty results. |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
164 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
165 --- |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
166 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
167 **Inputs** |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
168 |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
169 - **Input Images** (`jpg`, `png`): One or more images to analyze. |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
170 - **YOLO Class Name File** (`.txt`): A plain text file listing all class names used during training (one per line). |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
171 - **Model File** (`.pt`): A YOLOv8-compatible pre-trained model file. |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
172 - **Prediction Mode** (`detect` or `segment`): Choose based on the model type as described above. |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
173 - **Image Size** (default: `1000`): Input images will be resized to square dimensions. Larger sizes yield better accuracy but require more memory. |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
174 - **Confidence Threshold** (default: `0.5`): Minimum confidence to include a detection. |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
175 - **IoU Threshold** (default: `0.7`): Intersection-over-Union threshold for non-maximum suppression. |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
176 - **Max Detections** (default: `300`): Maximum number of objects detected per image. |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
177 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
178 --- |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
179 |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
180 **Outputs** |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
181 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
182 - **YOLO Annotations (.txt)**: |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
183 - One file per input image. |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
184 - Contains bounding boxes/polygons coordinates,predicted class ID, confidence scores. |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
185 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
186 - **Segmentation Masks (.tiff)** (for `segment` mode only): |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
187 - Binary images showing detected object areas. |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
188 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
189 - **Images with annotations(.jpg)**: |
|
4
e93df15bbd79
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit c6c9d43a4ecdc88ebdeaf3451453a550f159c506
bgruening
parents:
1
diff
changeset
|
190 - Overlaid images with bounding boxes and/or segmentation overlay. |
|
1
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
191 |
|
c5003f152e3e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 9685f843a52451b3416416094cc0e740f8825dcc
bgruening
parents:
0
diff
changeset
|
192 ]]></help> |
|
0
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
193 <expand macro="citations" /> |
|
13c24d4d6da0
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 67e0e1d123bcfffb10bab8cc04ae67259caec557
bgruening
parents:
diff
changeset
|
194 </tool> |
