File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed
Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,16 @@ on: push
77
88jobs :
99 test :
10- runs-on : ubuntu-latest
10+ # Use the same Python version used the Dockerfile
11+ runs-on : ubuntu-22.04
1112 strategy :
1213 fail-fast : false
1314 matrix :
14- # Use the same Python version used the Dockerfile
15- python-version : [3.x ]
15+ # match ubuntu-22.04
16+ python-version : ['3.10' ]
1617
1718 env :
18- OS : ubuntu-latest
19+ OS : ubuntu-22.04
1920 PYTHON : ${{ matrix.python-version }}
2021 WIC_BATCH_SIZE : 16
2122
3738 pip3 install -r requirements.txt
3839 pip3 install -r requirements.optional.txt
3940 pip3 install pytest pytest-cov pytest-random-order sahi[full]
40-
41+
4142 - name : Lint with flake8
4243 run : |
4344 # stop the build if there are Python syntax errors or undefined names
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ and configurations.
1919 The configuration setting for which machine lerning models to use with the AGG.
2020 Must be one of ``phase1 `` or ``mvp ``, or their respective aliases as ``old `` or ``new ``.
2121 Defaults to the value of the ``CONFIG `` environment variable.
22- - ``WIC_BATCH_SIZE `` (default: 256 )
22+ - ``WIC_BATCH_SIZE `` (default: 160 )
2323 The configuration setting for how many tiles to send to the GPU in a single batch during the WIC
2424 prediction (forward inference). The LOC model has a fixed batch size (16 for ``phase1 `` and
2525 32 for ``mvp ``) and cannot be adjusted. This setting can be used to control how fast the pipeline
Original file line number Diff line number Diff line change 22codecov
33coverage
44cryptography
5- dill == 0.3.7
5+ dill == 0.3.*
66gradio
77imgaug
88numpy
99onnxruntime
10- opencv-python-headless == 4.7.0.68
10+ opencv-python-headless == 4.7.0.*
1111Pillow
12- pooch == 1.8.0
12+ pooch == 1.8.*
1313rich
1414sahi == 0.11.12
1515sphinx-click
Original file line number Diff line number Diff line change 77import torchvision
88import utool as ut
99
10- BATCH_SIZE = int (os .getenv ('WIC_BATCH_SIZE' , 256 ))
10+ BATCH_SIZE = int (os .getenv ('WIC_BATCH_SIZE' , 160 ))
1111INPUT_SIZE = 224
1212
1313
You can’t perform that action at this time.
0 commit comments