diff --git a/.whitesource b/.whitesource index 545628a..7a52500 100644 --- a/.whitesource +++ b/.whitesource @@ -1,3 +1,3 @@ { - "settingsInheritedFrom": "whitesource-config/whitesource-config@master" + "settingsInheritedFrom": "whitesource-config/whitesource-config@main" } \ No newline at end of file diff --git a/terratorch_iterate/main.py b/terratorch_iterate/main.py index 0d411c1..8f8c105 100644 --- a/terratorch_iterate/main.py +++ b/terratorch_iterate/main.py @@ -384,6 +384,8 @@ def main(): run_repetitions=run_repetitions, save_models=save_models, logger=logger, + parent_run_id=parent_run_id, + report_on_best_val=report_on_best_val, ) else: if not repeat and hpo: diff --git a/terratorch_iterate/repeat_best_experiment.py b/terratorch_iterate/repeat_best_experiment.py index 6391369..fdb4e40 100644 --- a/terratorch_iterate/repeat_best_experiment.py +++ b/terratorch_iterate/repeat_best_experiment.py @@ -325,7 +325,7 @@ def rerun_best_from_backbone( # check if there are already results for this task and exp in the folder past_output_path = ( - f"{output_path.split(experiment_name)[0]}{experiment_name}_*" + f"{str(output_path).split(experiment_name)[0]}{experiment_name}_*" ) past_output_path = glob.glob(past_output_path) if len(sorted(past_output_path)) > 0: