Mercurial > repos > siwaa > wine_quality_train_eval
comparison wine_quality_train_eval.xml.essaiNOK @ 4:d490c7a4c63b draft
planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/dnn/DNN/galaxy-tools/wine_quality_train_eval commit e7c4e447552083db7eaecbdf139a7c359fe9becc-dirty
author | siwaa |
---|---|
date | Thu, 05 Dec 2024 10:12:30 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:ce2d614cac69 | 4:d490c7a4c63b |
---|---|
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 bash -e -c "mkdir cache_dir && | |
23 mkdir mpl_dir && | |
24 export TRANSFORMERS_CACHE=\$(realpath -s cache_dir) && | |
25 export MPLCONFIGDIR=\$(realpath -s mpl_dir) && | |
26 python3 /fidlemore/model_wine_lightning/wine_quality_train_eval.py -dataset_filepath ${dataset_csv} && | |
27 cp OUTPUTS/model.ckpt ${model_ckpt} && | |
28 cp OUTPUTS/norm_config.json ${norm_config_json} && | |
29 cp OUTPUTS/report.json ${report_json}" | |
30 ]]> | |
31 </command> | |
32 | |
33 <inputs> | |
34 <param name="dataset_csv" optional="true" type="data" format="csv" | |
35 label="File of dataset used to train and test the model (.csv)"/> | |
36 </inputs> | |
37 | |
38 <outputs> | |
39 <data format="ckpt" name="model_ckpt" | |
40 label="model_ckpt model file (.ckpt)"/> | |
41 <data format="json" name="norm_config_json" | |
42 label="norm_config normalization configuration (.json)"/> | |
43 <data format="json" name="report_json" label="report (.json)"/> | |
44 </outputs> | |
45 | |
46 <tests> | |
47 </tests> | |
48 | |
49 <help><![CDATA[ | |
50 | |
51 wine_quality_train_eval.xml | |
52 | |
53 =========================== | |
54 | |
55 Code: | |
56 | |
57 ---- | |
58 | |
59 - wine_quality_train_eval.py | |
60 | |
61 Inputs: | |
62 | |
63 ------- | |
64 | |
65 - dataset file (.csv) : | |
66 | |
67 File containing dataset used to train and test the model. | |
68 | |
69 The dataset will be splitted in 2 parts (training part, validation part). | |
70 | |
71 If not given, an embedded default file used. | |
72 | |
73 Outputs: | |
74 | |
75 -------- | |
76 | |
77 - Model file (.ckpt) | |
78 | |
79 - Normalization configuration file (.json) | |
80 | |
81 - Report file (.json) | |
82 | |
83 Credits: | |
84 | |
85 -------- | |
86 | |
87 - Author: Nathalie Rousse nathalie.rousse@inrae.fr | |
88 - Copyright: INRAE | |
89 | |
90 ]]> | |
91 </help> | |
92 | |
93 </tool> |