From d4fae405ab887ef5d659a4e16a4bdf7cd0c3156c Mon Sep 17 00:00:00 2001 From: DEGERICJ Date: Thu, 17 Oct 2024 10:26:45 +0200 Subject: [PATCH] don't store results in run-specific folder --- notebooks/worldcereal_v1_demo_custom_cropland.ipynb | 5 ++--- notebooks/worldcereal_v1_demo_custom_croptype.ipynb | 5 ++--- notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/notebooks/worldcereal_v1_demo_custom_cropland.ipynb b/notebooks/worldcereal_v1_demo_custom_cropland.ipynb index 94d0ad1..697ef98 100644 --- a/notebooks/worldcereal_v1_demo_custom_cropland.ipynb +++ b/notebooks/worldcereal_v1_demo_custom_cropland.ipynb @@ -286,9 +286,8 @@ "import os\n", "from pathlib import Path\n", "\n", - "# Specify the local directory where the resulting maps should be downloaded to.\n", - "run = get_input(\"model run\")\n", - "output_dir = Path(os.getcwd()) / f'CROPLAND_{modelname}_{run}'\n", + "# The output directory is named after the model\n", + "output_dir = Path(os.getcwd()) / f'CROPLAND_{modelname}'\n", "print(f\"Output directory: {output_dir}\")" ] }, diff --git a/notebooks/worldcereal_v1_demo_custom_croptype.ipynb b/notebooks/worldcereal_v1_demo_custom_croptype.ipynb index c5ae4df..195b584 100644 --- a/notebooks/worldcereal_v1_demo_custom_croptype.ipynb +++ b/notebooks/worldcereal_v1_demo_custom_croptype.ipynb @@ -291,9 +291,8 @@ "import os\n", "from pathlib import Path\n", "\n", - "# Specify the local directory where the resulting maps should be downloaded to.\n", - "run = get_input(\"model run\")\n", - "output_dir = Path(os.getcwd()) / f'CROPTYPE_{modelname}_{run}'\n", + "# The output directory is named after the model\n", + "output_dir = Path(os.getcwd()) / f'CROPTYPE_{modelname}'\n", "print(f\"Output directory: {output_dir}\")" ] }, diff --git a/notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb b/notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb index e948c65..e2f1190 100644 --- a/notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb +++ b/notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb @@ -329,9 +329,8 @@ " save_intermediate=save_intermediate,\n", " keep_class_probs=keep_class_probs)\n", "\n", - "# Specify the local directory where the resulting maps should be downloaded to.\n", - "run = get_input(\"model run\")\n", - "output_dir = Path(os.getcwd()) / f'CROPTYPE_{modelname}_{run}'\n", + "# The output directory is named after the model\n", + "output_dir = Path(os.getcwd()) / f'CROPTYPE_{modelname}'\n", "print(f\"Output directory: {output_dir}\")" ] },