From f5264ddf3c9a224fb018e45e5ff2f0be5ae8110b Mon Sep 17 00:00:00 2001
From: Soraya Arias <soraya.arias@grenoble-inp.fr>
Date: Mon, 14 Sep 2020 13:35:39 +0200
Subject: [PATCH] Correct dataset_dir path for IDRIS

---
 GTSRB/05-Full-convolutions.ipynb | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/GTSRB/05-Full-convolutions.ipynb b/GTSRB/05-Full-convolutions.ipynb
index 5a4833a..c53810b 100644
--- a/GTSRB/05-Full-convolutions.ipynb
+++ b/GTSRB/05-Full-convolutions.ipynb
@@ -46,7 +46,12 @@
     "\n",
     "from IPython.display import display\n",
     "\n",
-    "VERSION='1.6'"
+    "VERSION='1.6'",
+    "\n",
+    "sys.path.append('..')\n",
+    "import fidle.pwk as ooo\n",
+    "\n",
+    "place, datasets_dir = ooo.init()"
    ]
   },
   {
@@ -74,7 +79,7 @@
     "# dataset_dir = '/bettik/PROJECTS/pr-fidle/datasets/GTSRB/'\n",
     "\n",
     "# At IDRIS\n",
-    "dataset_dir = f'{os.getenv(\"ALL_CCFRWORK\",\"nowhere\")}/datasets/GTSRB'\n",
+    "dataset_dir = datasets_dir + '/GTSRB'\n",
     "\n",
     "# At Home\n",
     "# dataset_dir = f'{os.getenv(\"HOME\",\"nowhere\")}/datasets/GTSRB'\n",
-- 
GitLab