Skip to content

Commit c2e3db6

Browse files
committed
TMP fix CI/CD
1 parent 39fbc62 commit c2e3db6

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
strategy:
1717
# You can use PyPy versions in python-version. For example, pypy2 and pypy3
1818
matrix:
19-
python-version: [3.7, 3.8, 3.9]
19+
python-version: ["3.10", "3.11"]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v4
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
# You can test your matrix by printing the current Python version

.github/workflows/testing.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest, macos-11, windows-latest]
15-
python-version: ["3.7", "3.8", "3.9", "3.10"] #3.9 only failing for tables on macos and windows; mwm 6302021
15+
python-version: ["3.10", "3.11"]
1616
include:
1717
- os: ubuntu-latest
1818
path: ~/.cache/pip
@@ -23,10 +23,10 @@ jobs:
2323

2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4
2727

2828
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v3
29+
uses: actions/setup-python@v4
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232
- name: Install ffmpeg
@@ -43,5 +43,5 @@ jobs:
4343
- name: Install and test
4444
run: |
4545
python -m pip install --upgrade pip wheel poetry
46-
python -m poetry install
46+
python -m poetry install --extras "tf"
4747
python -m poetry run dlc-live-test --nodisplay

dlclive/dlclive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ def __init__(
190190
self.is_initialized = False
191191

192192
self.model_type = model_type
193+
self.precision = precision
193194
self.cropping = cropping
194195
self.dynamic = dynamic
195196
self.dynamic_cropping = None

0 commit comments

Comments
 (0)