changeset 16:dd7d99707a65 draft

planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/dnn/DNN/galaxy-tools/wine_quality_train_eval commit 58f66f614dc32b7550ac23e52d84248ddc802863-dirty
author siwaa
date Fri, 06 Dec 2024 18:33:53 +0000
parents c1d9515c9434
children e233f68fc8c6
files toto_wine_quality_train_eval.py wine_quality_train_eval.xml
diffstat 2 files changed, 5 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/toto_wine_quality_train_eval.py	Fri Dec 06 17:57:20 2024 +0000
+++ b/toto_wine_quality_train_eval.py	Fri Dec 06 18:33:53 2024 +0000
@@ -159,7 +159,7 @@
 
     # Init Fidle environment
     print("\n"+HEAD, "# Init Fidle environment\n")
-    run_id, run_dir, datasets_dir = fidle.init('LWINE1_train_eval')
+    run_id, run_dir, datasets_dir = fidle.init(run_dir='LWINE1_train_eval')
 
     # Verbosity during training : 
     # - 0 = silent
--- a/wine_quality_train_eval.xml	Fri Dec 06 17:57:20 2024 +0000
+++ b/wine_quality_train_eval.xml	Fri Dec 06 18:33:53 2024 +0000
@@ -5,17 +5,8 @@
 
   <requirements>
 
-    <!-- singularity A REMETTRE (avant essais)
-    <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/use/dnn_fidlemore:1906137478520a9f71a4d8996c0a8827f27aed16</container -->
-
-
-
-
-    <!-- singularity ESSAIS -->
-    <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/use/dnn_fidlemore:ea8ac4fa4f127a69480c70e8966353df331d26ed</container>
-
-
-
+    <!-- singularity -->
+    <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/use/dnn_fidlemore:1906137478520a9f71a4d8996c0a8827f27aed16</container>
 
     <!-- image locale
     <container type="singularity">/home/nrousse/workspace_git/SIWAA_regroup/USE_branch_dnn/use/DNN/containers/fidlemore.simg</container -->
@@ -29,7 +20,9 @@
     <![CDATA[
     bash -e -c "source /fidle-tp/fidle-env/bin/activate &&
     export FIDLE_DATASETS_DIR=/fidle-tp/datasets-fidle &&
+    mkdir ipython_dir &&
     export IPYTHONDIR=\$(realpath -s ipython_dir) &&
+    ipython profile create default &&
     mkdir cache_dir &&
     export TRANSFORMERS_CACHE=\$(realpath -s cache_dir) &&
     mkdir mpl_dir &&