fix yolo11-seg and yolo11-pose engine cannot run after set batch > 1 (#1606) #151
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: pre-commit | |
on: | |
pull_request: | |
branches: | |
- master | |
- trt10 | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# grab the history of the PR | |
fetch-depth: 0 | |
- uses: actions/setup-python@v3 | |
- uses: pre-commit/action@v3.0.1 | |
with: | |
extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }} |