Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix renaming of outputs folders in Azure ML #258

Merged
merged 2 commits into from
Mar 22, 2022

Conversation

dccastro
Copy link
Member

Adds a health_azure.utils.replace_directory() function to enable "renaming" folders in AML runs (in practice: clear destination, copy contents, delete originals). The special logic is necessary because blob storage does not allow directly moving/renaming files.

This change should fix an issue with DeepMILOutputsHandler running in AML, whereby it needs to move previous-best validation outputs to a temporary folder to avoid partial overwrites.

@dccastro dccastro changed the title [WIP] BUG: Fix renaming outputs folder in Azure ML BUG: Fix renaming of outputs folders in Azure ML Mar 22, 2022
@dccastro dccastro marked this pull request as ready for review March 22, 2022 09:30
@dccastro dccastro requested a review from mebristo March 22, 2022 09:30
@dccastro dccastro merged commit 0d19cc8 into main Mar 22, 2022
@dccastro dccastro deleted the dacoelh/fix_val_outputs_dir_renaming branch March 22, 2022 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants