Fix issues with mmdetection docker image (10/24) #3515
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Work around the two issues with the mmdetection framework current as of 10/24:
a. open-mmlab/mim#244 -> mim incompatibility with latest pip
b. open-mmlab/mmdetection#11668 -> overly restrictive mmcv dependency specification in mmdet
When these two issues are resolved, the hacks/workarounds should be removed from the Dockerfile.
Tested by running detection and segmentation jobs in the cloud:
a. https://ml.azure.com/experiments/id/1a564b75-73f8-4579-a20c-cbe9564cc731/runs/patient_jackal_j1ndbfxt13?wsid=%2Fsubscriptions%2Fdbd697c3-ef40-488f-83e6-5ad4dfb78f9b%2FresourceGroups%2Frdondera%2Fproviders%2FMicrosoft.MachineLearningServices%2Fworkspaces%2Fvalidatr&tid=72f988bf-86f1-41af-91ab-2d7cd011db47&reloadCount=1#
b. https://ml.azure.com/experiments/id/096ae769-8375-4b60-8e38-8cd185bf97a5/runs/funny_whistle_9rwtdfy2dw?wsid=%2Fsubscriptions%2Fdbd697c3-ef40-488f-83e6-5ad4dfb78f9b%2FresourceGroups%2Frdondera%2Fproviders%2FMicrosoft.MachineLearningServices%2Fworkspaces%2Fvalidatr&tid=72f988bf-86f1-41af-91ab-2d7cd011db47#