-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,24 +120,24 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Upgrade pip | ||
run: pip install pip --upgrade | ||
run: python -m pip install pip --upgrade | ||
- name: Install lmdb | ||
run: pip install lmdb | ||
run: python -m pip install lmdb | ||
- name: Install PyTorch | ||
run: pip install torch==1.8.1+${{matrix.platform}} torchvision==0.9.1+${{matrix.platform}} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html | ||
run: python -m pip install torch==1.8.1+${{matrix.platform}} torchvision==0.9.1+${{matrix.platform}} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html | ||
- name: Install mmpose dependencies | ||
run: | | ||
pip install -U numpy | ||
pip install git+https://github.com/open-mmlab/mmengine.git@main | ||
pip install -U openmim | ||
python -m pip install -U numpy | ||
python -m pip install git+https://github.com/open-mmlab/mmengine.git@main | ||
python -m pip install -U openmim | ||
mim install 'mmcv >= 2.0.0rc1' | ||
pip install git+https://github.com/open-mmlab/[email protected] | ||
pip install -r requirements/tests.txt | ||
pip install -r requirements/albu.txt | ||
pip install -r requirements/poseval.txt | ||
python -m pip install git+https://github.com/open-mmlab/[email protected] | ||
python -m pip install -r requirements/tests.txt | ||
python -m pip install -r requirements/albu.txt | ||
python -m pip install -r requirements/poseval.txt | ||
- name: Build and install | ||
run: | | ||
pip install -e . | ||
python -m pip install -e . | ||
- name: Run unittests and generate coverage report | ||
run: | | ||
pytest tests/ |