Mercurial > repos > siwaa > wine_quality_train_eval
comparison wine_quality_train_eval.xml @ 0:202391eebeb6 draft
planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/dnn/DNN/galaxy-tools/wine_quality_train_eval commit e7c4e447552083db7eaecbdf139a7c359fe9becc
author | siwaa |
---|---|
date | Wed, 04 Dec 2024 15:24:43 +0000 |
parents | |
children | 1275edb76345 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:202391eebeb6 |
---|---|
1 <tool id="wine_quality_train_eval" name="wine_quality_train_eval" | |
2 version="1.0.0"> | |
3 | |
4 <description>wine_quality_train_eval</description> | |
5 | |
6 <requirements> | |
7 | |
8 <!-- singularity --> | |
9 <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/use/dnn_fidlemore:6d159f79349e231deadb738f79bd293c1a8dadd3</container> | |
10 | |
11 <!-- image locale | |
12 <container type="singularity">/home/nrousse/workspace_git/SIWAA_regroup/USE_branch_dnn/use/DNN/containers/fidlemore.simg</container --> | |
13 | |
14 </requirements> | |
15 | |
16 <environment_variables> | |
17 <environment_variable name="FIDLE_DATASETS_DIR">/fidle-tp/datasets-fidle</environment_variable> | |
18 </environment_variables> | |
19 <command detect_errors="aggressive"> | |
20 <![CDATA[ | |
21 . /fidle-tp/fidle-env/bin/activate; | |
22 /bin/bash -c "python3 /fidlemore/model_wine_lightning/wine_quality_train_eval.py -dataset_filepath ${dataset_csv}"; | |
23 cp OUTPUTS/model.ckpt ${model_ckpt}; | |
24 cp OUTPUTS/norm_config.json ${norm_config_json}; | |
25 cp OUTPUTS/report.json ${report_json}; | |
26 ]]> | |
27 </command> | |
28 | |
29 <inputs> | |
30 <param name="dataset_csv" optional="true" type="data" format="csv" | |
31 label="File of dataset used to train and test the model (.csv)"/> | |
32 </inputs> | |
33 | |
34 <outputs> | |
35 <data format="ckpt" name="model_ckpt" | |
36 label="model_ckpt model file (.ckpt)"/> | |
37 <data format="json" name="norm_config_json" | |
38 label="norm_config normalization configuration (.json)"/> | |
39 <data format="json" name="report_json" label="report (.json)"/> | |
40 </outputs> | |
41 | |
42 <tests> | |
43 </tests> | |
44 | |
45 <help><![CDATA[ | |
46 | |
47 wine_quality_train_eval.xml | |
48 | |
49 =========================== | |
50 | |
51 Code: | |
52 | |
53 ---- | |
54 | |
55 - wine_quality_train_eval.py | |
56 | |
57 Inputs: | |
58 | |
59 ------- | |
60 | |
61 - dataset file (.csv) : | |
62 | |
63 File containing dataset used to train and test the model. | |
64 | |
65 The dataset will be splitted in 2 parts (training part, validation part). | |
66 | |
67 If not given, an embedded default file used. | |
68 | |
69 Outputs: | |
70 | |
71 -------- | |
72 | |
73 - Model file (.ckpt) | |
74 | |
75 - Normalization configuration file (.json) | |
76 | |
77 - Report file (.json) | |
78 | |
79 Credits: | |
80 | |
81 -------- | |
82 | |
83 - Author: Nathalie Rousse nathalie.rousse@inrae.fr | |
84 - Copyright: INRAE | |
85 | |
86 ]]> | |
87 </help> | |
88 | |
89 </tool> |