From c83547612e8f1a3652a5a38793ec79cd2561ebc9 Mon Sep 17 00:00:00 2001 From: WRH <12756472+wangruohui@users.noreply.github.com> Date: Wed, 6 Apr 2022 22:37:32 +0800 Subject: [PATCH 1/9] Update runtime.txt --- requirements/runtime.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/runtime.txt b/requirements/runtime.txt index 567d472c0d..7dbb43d8e0 100644 --- a/requirements/runtime.txt +++ b/requirements/runtime.txt @@ -1,7 +1,7 @@ lmdb mmcv-full>=1.3.13 # To support DCN on CPU numpy -opencv-python<=4.5.4.60 +opencv-python<=4.5.4.64 # MMCV depends opencv-python instead of headless, thus we install opencv-python # Due to a binary compatibility bug, we limit its version before 4.5.5 # https://github.com/opencv/opencv-python/issues/602 From 55a27660ab28c97d7f71605a8b0f9a3765e8720a Mon Sep 17 00:00:00 2001 From: WRH <12756472+wangruohui@users.noreply.github.com> Date: Thu, 7 Apr 2022 01:57:21 +0800 Subject: [PATCH 2/9] Update runtime.txt --- requirements/runtime.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/runtime.txt b/requirements/runtime.txt index 7dbb43d8e0..3815b2f3e1 100644 --- a/requirements/runtime.txt +++ b/requirements/runtime.txt @@ -1,7 +1,7 @@ lmdb mmcv-full>=1.3.13 # To support DCN on CPU numpy -opencv-python<=4.5.4.64 +opencv-python # MMCV depends opencv-python instead of headless, thus we install opencv-python # Due to a binary compatibility bug, we limit its version before 4.5.5 # https://github.com/opencv/opencv-python/issues/602 From 6e94248c09ab1a6a19bd0d81d70f4822070cb0e6 Mon Sep 17 00:00:00 2001 From: WRH <12756472+wangruohui@users.noreply.github.com> Date: Thu, 7 Apr 2022 01:59:03 +0800 Subject: [PATCH 3/9] Update runtime.txt --- requirements/runtime.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/runtime.txt b/requirements/runtime.txt index 3815b2f3e1..0add507fbf 100644 --- a/requirements/runtime.txt +++ b/requirements/runtime.txt @@ -1,7 +1,7 @@ lmdb mmcv-full>=1.3.13 # To support DCN on CPU numpy -opencv-python +opencv-python!=4.5.5.62 # MMCV depends opencv-python instead of headless, thus we install opencv-python # Due to a binary compatibility bug, we limit its version before 4.5.5 # https://github.com/opencv/opencv-python/issues/602 From f243dc61d81bc85c16e91c818f42360ead29752a Mon Sep 17 00:00:00 2001 From: WRH <12756472+wangruohui@users.noreply.github.com> Date: Thu, 7 Apr 2022 02:24:36 +0800 Subject: [PATCH 4/9] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a454e0664c..83fd2d219d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,7 +82,7 @@ jobs: run: pip install torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }} -f https://download.pytorch.org/whl/torch_stable.html - name: Install MMCV ${{ matrix.mmcv_link }} run: | - pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/${{ matrix.mmcv_link }}/index.html --only-binary mmcv-full "opencv-python<=4.5.4.60" + pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/${{ matrix.mmcv_link }}/index.html --only-binary mmcv-full python -c 'import mmcv; print(mmcv.__version__)' - name: Build and install run: pip install -e .[all] From 2e6995872ab879188c23275695d53500b5260aec Mon Sep 17 00:00:00 2001 From: WRH <12756472+wangruohui@users.noreply.github.com> Date: Fri, 8 Apr 2022 23:07:15 +0800 Subject: [PATCH 5/9] Update runtime.txt --- requirements/runtime.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/runtime.txt b/requirements/runtime.txt index 0add507fbf..5a25ed0540 100644 --- a/requirements/runtime.txt +++ b/requirements/runtime.txt @@ -1,7 +1,7 @@ lmdb mmcv-full>=1.3.13 # To support DCN on CPU numpy -opencv-python!=4.5.5.62 +opencv-python!=4.5.5.62,!=4.5.5.64 # MMCV depends opencv-python instead of headless, thus we install opencv-python # Due to a binary compatibility bug, we limit its version before 4.5.5 # https://github.com/opencv/opencv-python/issues/602 From 865d6bd3f510c73eb93df14c54ada451f00f6499 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 9 Jun 2022 13:22:53 +0800 Subject: [PATCH 6/9] empty From a6a37ae8b8dc6fe89aad5c1f781d781e43e08987 Mon Sep 17 00:00:00 2001 From: wangruohui <12756472+wangruohui@users.noreply.github.com> Date: Thu, 9 Jun 2022 13:35:14 +0800 Subject: [PATCH 7/9] empty From f33a2699e13f47cdb17eab62b4fe9a4b4f45c57e Mon Sep 17 00:00:00 2001 From: WRH <12756472+wangruohui@users.noreply.github.com> Date: Thu, 9 Jun 2022 19:58:23 +0800 Subject: [PATCH 8/9] Update runtime.txt --- requirements/runtime.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements/runtime.txt b/requirements/runtime.txt index 5a25ed0540..365a50b78b 100644 --- a/requirements/runtime.txt +++ b/requirements/runtime.txt @@ -3,11 +3,10 @@ mmcv-full>=1.3.13 # To support DCN on CPU numpy opencv-python!=4.5.5.62,!=4.5.5.64 # MMCV depends opencv-python instead of headless, thus we install opencv-python -# Due to a binary compatibility bug, we limit its version before 4.5.5 +# Due to a bug from upstream, we skip this two version # https://github.com/opencv/opencv-python/issues/602 # https://github.com/opencv/opencv/issues/21366 # It seems to be fixed in https://github.com/opencv/opencv/pull/21382 -# But our test is negative. Pillow tensorboard torch>=1.5.0 From f8ebbf7a86d94ccbfd28900ed85b18e6172ae180 Mon Sep 17 00:00:00 2001 From: wangruohui <12756472+wangruohui@users.noreply.github.com> Date: Thu, 9 Jun 2022 20:27:00 +0800 Subject: [PATCH 9/9] fix lint --- requirements/runtime.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/runtime.txt b/requirements/runtime.txt index 365a50b78b..0cbf47436a 100644 --- a/requirements/runtime.txt +++ b/requirements/runtime.txt @@ -3,7 +3,7 @@ mmcv-full>=1.3.13 # To support DCN on CPU numpy opencv-python!=4.5.5.62,!=4.5.5.64 # MMCV depends opencv-python instead of headless, thus we install opencv-python -# Due to a bug from upstream, we skip this two version +# Due to a bug from upstream, we skip this two version # https://github.com/opencv/opencv-python/issues/602 # https://github.com/opencv/opencv/issues/21366 # It seems to be fixed in https://github.com/opencv/opencv/pull/21382