Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .whitesource
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"settingsInheritedFrom": "whitesource-config/whitesource-config@master"
"settingsInheritedFrom": "whitesource-config/whitesource-config@main"
}
2 changes: 2 additions & 0 deletions terratorch_iterate/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion terratorch_iterate/repeat_best_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down