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