diff --git a/climax/main/downscale_bootstrap.py b/climax/main/downscale_bootstrap.py index 3e119c0d503cc85ef7f06800d0814b90c44c921b..1390761521175da7380bd1a498f0037cb1dd9b34 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