From 8ebc6679df7c74af925c52415e216f20458eb6ef Mon Sep 17 00:00:00 2001 From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu> Date: Wed, 17 Nov 2021 10:52:22 +0100 Subject: [PATCH] Change path to models states. --- climax/main/downscale_bootstrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/climax/main/downscale_bootstrap.py b/climax/main/downscale_bootstrap.py index 3e119c0..1390761 100644 --- a/climax/main/downscale_bootstrap.py +++ b/climax/main/downscale_bootstrap.py @@ -51,8 +51,8 @@ if __name__ == '__main__': lr_scheduler=LR_SCHEDULER) # models trained with bootstrapping - state_file = MODEL_PATH.joinpath('bootstrap', PREDICTAND, state_file.stem, - state_file) + state_file = MODEL_PATH.joinpath('bootstrap', PREDICTAND, state_file) + state_file = state_file.parent.joinpath(state_file.stem, state_file.name) target = TARGET_PATH.joinpath('bootstrap', PREDICTAND, state_file.stem) # check if output path exists -- GitLab