From f9ebf6b768447c8296f0fc5a705bf5ca4eca9755 Mon Sep 17 00:00:00 2001 From: Junjun2016 Date: Mon, 25 Oct 2021 02:08:37 +0800 Subject: [PATCH 1/3] remove python-dev in CI --- .github/workflows/build.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d655564acd..130982fd6e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -164,7 +164,7 @@ jobs: strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9-dev] + python-version: [3.6, 3.7, 3.8, 3.9] torch: [1.9.0+cu102] include: - torch: 1.9.0+cu102 @@ -178,9 +178,6 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Install python-dev - run: apt-get update && apt-get install -y python${{matrix.python-version}}-dev - if: ${{matrix.python-version != '3.9-dev'}} - name: Install system dependencies run: | apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 From f2c3ed71f6e0df66b38ec4f4212691862f5f3909 Mon Sep 17 00:00:00 2001 From: Junjun2016 Date: Mon, 25 Oct 2021 02:24:33 +0800 Subject: [PATCH 2/3] remove pycocotools installation --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 130982fd6e..c359bdd04a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -195,7 +195,6 @@ jobs: run: | python -V python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/${{matrix.mmcv_link}}/index.html - python -m pip install pycocotools python -m pip install -r requirements.txt python -c 'import mmcv; print(mmcv.__version__)' - name: Build and install From cddc51e8c59cdc6f81ce9cdb6be53213b76ae9b9 Mon Sep 17 00:00:00 2001 From: Junjun2016 Date: Mon, 25 Oct 2021 02:34:35 +0800 Subject: [PATCH 3/3] remove python 3.9-dev installation dependencies --- .github/workflows/build.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c359bdd04a..dbb08b48ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,9 +129,6 @@ jobs: if: ${{matrix.torchvision < 0.5}} - name: Install PyTorch run: python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html - - name: Install dependencies for compiling onnx when python=3.9 - run: python -m pip install protobuf && apt-get install libprotobuf-dev protobuf-compiler - if: ${{matrix.python-version == '3.9'}} - name: Install mmseg dependencies run: | python -V @@ -188,9 +185,6 @@ jobs: if: ${{matrix.torchvision < 0.5}} - name: Install PyTorch run: python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html - - name: Install dependencies for compiling onnx when python=3.9 - run: python -m pip install protobuf && apt-get update && apt-get -y install libprotobuf-dev protobuf-compiler cmake - if: ${{matrix.python-version == '3.9-dev'}} - name: Install mmseg dependencies run: | python -V