Skip to content

Commit

Permalink
don't store results in run-specific folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jdegerickx committed Oct 17, 2024
1 parent 6a17c87 commit d4fae40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions notebooks/worldcereal_v1_demo_custom_cropland.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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}\")"
]
},
Expand Down
5 changes: 2 additions & 3 deletions notebooks/worldcereal_v1_demo_custom_croptype.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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}\")"
]
},
Expand Down
5 changes: 2 additions & 3 deletions notebooks/worldcereal_v1_demo_custom_croptype_extended.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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}\")"
]
},
Expand Down

0 comments on commit d4fae40

Please sign in to comment.