From a9f3dd820c591b5f29cacbcc7d4b28529db95bd7 Mon Sep 17 00:00:00 2001 From: Anton Schwaighofer Date: Tue, 16 Nov 2021 10:05:08 +0000 Subject: [PATCH] Fix for AzureML environment problem (#587) --- CHANGELOG.md | 1 + Tests/Common/test_commandline_parsing.py | 3 ++- Tests/ML/test_download_upload.py | 3 ++- environment.yml | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de3851de4..717a51351 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,7 @@ gets uploaded to AzureML, by skipping all test folders. - ([#572](https://github.com/microsoft/InnerEye-DeepLearning/pull/572)) Updated to new version of hi-ml package ### Fixed +- ([#587](https://github.com/microsoft/InnerEye-DeepLearning/pull/587)) Bug fix for regression in AzureML's handling of environments: upgrade to hi-ml 0.1.11 - ([#537](https://github.com/microsoft/InnerEye-DeepLearning/pull/537)) Print warning if inference is disabled but comparison requested. - ([#567](https://github.com/microsoft/InnerEye-DeepLearning/pull/567)) fix pillow version. - ([#546](https://github.com/microsoft/InnerEye-DeepLearning/pull/546)) Environment and hello_world_model documentation updated diff --git a/Tests/Common/test_commandline_parsing.py b/Tests/Common/test_commandline_parsing.py index d377143e1..f6b8ad42f 100644 --- a/Tests/Common/test_commandline_parsing.py +++ b/Tests/Common/test_commandline_parsing.py @@ -67,7 +67,8 @@ def test_create_ml_runner_args(is_container: bool, run=None, is_running_in_azure_ml=False, output_folder=Path.cwd(), - logs_folder=Path.cwd()) + logs_folder=Path.cwd(), + mount_contexts=[]) runner.run_in_situ(azure_run_info) azure_config = runner.azure_config container_or_legacy_config = runner.lightning_container if is_container else runner.model_config diff --git a/Tests/ML/test_download_upload.py b/Tests/ML/test_download_upload.py index 82d1198c3..d6afa1ac7 100644 --- a/Tests/ML/test_download_upload.py +++ b/Tests/ML/test_download_upload.py @@ -166,7 +166,8 @@ def _test_mount_for_lightning_container(test_output_dirs: OutputFolderForTests, run=None, is_running_in_azure_ml=False, output_folder=Path(), - logs_folder=Path() + logs_folder=Path(), + mount_contexts=[] )) return runner.container diff --git a/environment.yml b/environment.yml index 0f831cfa6..108c736f7 100644 --- a/environment.yml +++ b/environment.yml @@ -23,8 +23,8 @@ dependencies: - gitpython==3.1.7 - gputil==1.4.0 - h5py==2.10.0 - - hi-ml==0.1.10 - - hi-ml-azure==0.1.10 + - hi-ml==0.1.11 + - hi-ml-azure==0.1.11 - InnerEye-DICOM-RT==1.0.1 - joblib==0.16.0 - jupyter==1.0.0