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