You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
hi-ml-azure not specified in environment, but needed in azure_util.py #741
When importing any components from InnerEye/Azure/azure_util.py a ModuleNotFoundError is raised if one has not installed the hi-ml-azure package manually using pip.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/azureuser/git/InnerEye-DeepLearning/InnerEye/ML/photometric_normalization.py", line 13, in <module>from InnerEye.ML.config import PhotometricNormalizationMethod, SegmentationModelBase
File "/home/azureuser/git/InnerEye-DeepLearning/InnerEye/ML/config.py", line 25, in <module>from InnerEye.ML.deep_learning_config import ModelCategory
File "/home/azureuser/git/InnerEye-DeepLearning/InnerEye/ML/deep_learning_config.py", line 16, in <module>from InnerEye.Azure.azure_util importDEFAULT_CROSS_VALIDATION_SPLIT_INDEX, RUN_CONTEXT, is_offline_run_context
File "/home/azureuser/git/InnerEye-DeepLearning/InnerEye/Azure/azure_util.py", line 16, in <module>from health_azure.utils import create_run_recovery_id, get_aml_run_from_run_id
ModuleNotFoundError: No module named 'health_azure'
I think that the problem here is that the conda environment creation doesn't include setup of any of the packages that come with the InnerEye repository. With a suitable setup.py file, adding - -e . as the final pip dependency could be a solution.
On Mac, with the current setup.py, and in the InnerEye environment, the command:
pip install -e .
results in the error:
ERROR: Could not find a version that satisfies the requirement cucim==21.10.1 (from innereye==0.0.1) (from versions: none)
ERROR: No matching distribution found for cucim==21.10.1 (from innereye==0.0.1)
Activity
kh296 commentedon Jun 21, 2022
I think that the problem here is that the conda environment creation doesn't include setup of any of the packages that come with the InnerEye repository. With a suitable
setup.pyfile, adding- -e .as the finalpipdependency could be a solution.On Mac, with the current
setup.py, and in the InnerEye environment, the command:results in the error: