Mercurial > repos > ximgchess > chap_test_20230411
annotate inference/chapmlaas.xml @ 116:7280ef006c96 draft
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
author | ximgchess |
---|---|
date | Tue, 30 May 2023 13:09:41 +0000 |
parents | 47d2a1f087d1 |
children | d8baf7dafbd8 |
rev | line source |
---|---|
0
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
1 <tool id="CHAP_inference_demo" name="CHAP MLaaS" version="0.1.0+galaxy0" python_template_version="3.5" profile="21.05"> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
2 <requirements> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
3 <requirement type="package" version="2.28.2">requests</requirement> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
4 <requirement type="package" version="0.0.2">chessanalysispipeline</requirement> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
5 </requirements> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
7 cp '$input' data.csv && |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
8 cp '$image' img.png && |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
9 CHAP --config '$config' && |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
10 cp preds.json '$output' |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
11 ]]></command> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
12 <inputs> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
13 <param type="data" name="config" format="yaml" /> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
14 <param type="data" name="input" format="csv" /> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
15 <param type="data" name="image" format="png" /> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
16 </inputs> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
17 <outputs> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
18 <data name="output" format="json" /> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
19 </outputs> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
20 <tests> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
21 <test> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
22 <param name="config" value="config.yaml"/> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
23 <param name="input" value="data.csv"/> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
24 <param name="image" value="img.png"/> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
25 </test> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
26 </tests> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
27 <help><![CDATA[ |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
28 CHESS Analysis Pipeline (CHAP) with Machine Learning as a Service (MLaaS) |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
29 |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
30 To run it you need the following: |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
31 1. Working TFaaS server |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
32 2. A pipeline config with TFaaS, e.g. |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
33 |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
34 pipeline: |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
35 - reader.Reader: |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
36 filename: data.csv |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
37 - processor.Processor: {} |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
38 - reader.BinaryFileReader: |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
39 filename: img.png |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
40 - processor.TFaaSImageProcessor: |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
41 url: "http://localhost:8083" |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
42 model: mnist |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
43 verbose: true |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
44 - writer.Writer: |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
45 filename: preds.json |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
46 |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
47 ]]></help> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
48 <citations> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
49 <citation type="bibtex"> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
50 @misc{githubChessAnalysisPipeline, |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
51 author = {Kuznetsov, Valentin}, |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
52 year = {2023}, |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
53 title = {ChessAnalysisPipeline}, |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
54 publisher = {GitHub}, |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
55 journal = {GitHub repository}, |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
56 url = {https://github.com/CHESSComputing/ChessAnalysisPipeline}, |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
57 }</citation> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
58 </citations> |
47d2a1f087d1
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit fe909397cd829fe9a784a810d0264ab1751ae090-dirty
ximgchess
parents:
diff
changeset
|
59 </tool> |