Mercurial > repos > siwaa > wine_quality_predict
comparison wine_quality_predict.xml.original @ 2:4d31508e95c6 draft
planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/dnn/DNN/galaxy-tools/wine_quality_predict commit 58f66f614dc32b7550ac23e52d84248ddc802863-dirty
author | siwaa |
---|---|
date | Fri, 06 Dec 2024 19:17:19 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:f9637dc4e18a | 2:4d31508e95c6 |
---|---|
1 <tool id="wine_quality_predict" name="wine_quality_predict" version="1.0.0"> | |
2 | |
3 <description>wine_quality_predict</description> | |
4 | |
5 <requirements> | |
6 | |
7 <!-- singularity --> | |
8 <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/use/dnn_fidlemore:6d159f79349e231deadb738f79bd293c1a8dadd3</container> | |
9 | |
10 <!-- image locale | |
11 <container type="singularity">/home/nrousse/workspace_git/SIWAA_regroup/USE_branch_dnn/use/DNN/containers/fidlemore.simg</container --> | |
12 | |
13 </requirements> | |
14 | |
15 <environment_variables> | |
16 <environment_variable name="FIDLE_DATASETS_DIR">/fidle-tp/datasets-fidle</environment_variable> | |
17 </environment_variables> | |
18 <command detect_errors="aggressive"> | |
19 <![CDATA[ | |
20 . /fidle-tp/fidle-env/bin/activate; | |
21 mkdir /fidle-tp/fidle-env/cache_dir; export TRANSFORMERS_CACHE=/fidle-tp/fidle-env/cache_dir; | |
22 mkdir /fidle-tp/fidle-env/mpl_dir; export MPLCONFIGDIR=/fidle-tp/fidle-env/mpl_dir; | |
23 /bin/bash -c "python3 /fidlemore/model_wine_lightning/wine_quality_predict.py -model_ckpt_filepath ${model_ckpt} -norm_config_json_filepath ${norm_config_json} -data_json_filepath ${data_json}"; | |
24 cp OUTPUTS/report.json ${report_json}; | |
25 ]]> | |
26 </command> | |
27 | |
28 <inputs> | |
29 <param name="data_json" optional="false" type="data" format="json" | |
30 label="File of data of wine whose quality to be predicted (.json)"/> | |
31 <param name="model_ckpt" optional="false" type="data" format="ckpt" | |
32 label="model_ckpt model file (.ckpt)"/> | |
33 <param name="norm_config_json" optional="false" type="data" format="json" | |
34 label="norm_config normalization configuration (.json)"/> | |
35 </inputs> | |
36 | |
37 <outputs> | |
38 <data format="json" name="report_json" label="report (.json)"/> | |
39 </outputs> | |
40 | |
41 <tests> | |
42 </tests> | |
43 | |
44 <help><![CDATA[ | |
45 | |
46 wine_quality_predict.xml | |
47 | |
48 =========================== | |
49 | |
50 Code: | |
51 | |
52 ---- | |
53 | |
54 - wine_quality_predict.py | |
55 | |
56 Inputs: | |
57 | |
58 ------- | |
59 | |
60 - data file (.json) : | |
61 File containing data of wine for which quality is going to be predicted. | |
62 | |
63 - Model file (.ckpt) | |
64 | |
65 - Normalization configuration file (.json) | |
66 | |
67 Outputs: | |
68 | |
69 -------- | |
70 | |
71 - Report file (.json) | |
72 | |
73 Credits: | |
74 | |
75 -------- | |
76 | |
77 - Author: Nathalie Rousse nathalie.rousse@inrae.fr | |
78 - Copyright: INRAE | |
79 | |
80 ]]> | |
81 </help> | |
82 | |
83 </tool> |