fix: object365 to objects365 #368
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
name: lint | |
on: push | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- python: "3.11" | |
torch: "2.2.2" | |
torchvision: "0.17.2" | |
steps: | |
- uses: LutingWang/todd/.github/actions/checkout-todd@main | |
- uses: actions/setup-python@master | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Lint | |
run: | | |
pip install -U setuptools wheel | |
pip install torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }} | |
pip install git+https://github.com/lvis-dataset/lvis-api.git@lvis_challenge_2021 --no-build-isolation | |
pip install .[optional,lint,doc,test] | |
mim install mmcv | |
pre-commit install | |
pre-commit run -a |