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