Loading .github/workflows/doc.yml +1 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ jobs: python -m pip install -r requirements.txt python -m pip install -r requirements-model.txt python -m pip install -r requirements-doc.txt python -m pip install -r requirements-torchvision.txt - name: Prepare dataset uses: nick-fields/retry@v2 if: ${{ github.event_name == 'push' }} Loading .github/workflows/export.yml +2 −2 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ jobs: ls -al ./${{ matrix.model-name }} zip -r ${{ matrix.model-name }}.zip ${{ matrix.model-name }} - name: Upload the character databases uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4 with: name: onnx-models path: ${{ matrix.model-name }}.zip Loading @@ -84,7 +84,7 @@ jobs: git clone https://huggingface.co/deepghs/imgutils-models ls -al imgutils-models - name: Download from artifact uses: actions/download-artifact@v3 uses: actions/download-artifact@v4 with: name: onnx-models path: imgutils-models Loading .github/workflows/release_test.yml +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ jobs: make package ls -al dist - name: Upload packed files to artifacts uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4 with: name: build-artifacts-source-pack path: ./dist/* .github/workflows/test.yml +15 −2 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ on: jobs: unittest: name: Code test name: Test runs-on: ${{ matrix.os }} if: ${{ !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'test skip') }} strategy: Loading @@ -22,6 +22,14 @@ jobs: - '3.10' - '3.11' - '3.12' install: - 'full' - 'simple' exclude: - os: 'windows-latest' install: 'simple' - os: 'macos-latest' install: 'simple' steps: - name: Get system version for Linux Loading Loading @@ -86,8 +94,13 @@ jobs: python -m pip install --upgrade pip pip install --upgrade flake8 setuptools wheel twine pip install -r requirements.txt pip install -r requirements-model.txt pip install -r requirements-test.txt - name: Install full dependencies shell: bash if: ${{ matrix.install == 'full' }} run: | pip install -r requirements-model.txt pip install -r requirements-torchvision.txt - name: Test the basic environment shell: bash run: | Loading docs/source/api_doc/preprocess/base.rst 0 → 100644 +14 −0 Original line number Diff line number Diff line imgutils.preprocess.base =========================================== .. currentmodule:: imgutils.preprocess.base .. automodule:: imgutils.preprocess.base NotParseTarget ----------------------------- .. autoclass:: NotParseTarget Loading
.github/workflows/doc.yml +1 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ jobs: python -m pip install -r requirements.txt python -m pip install -r requirements-model.txt python -m pip install -r requirements-doc.txt python -m pip install -r requirements-torchvision.txt - name: Prepare dataset uses: nick-fields/retry@v2 if: ${{ github.event_name == 'push' }} Loading
.github/workflows/export.yml +2 −2 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ jobs: ls -al ./${{ matrix.model-name }} zip -r ${{ matrix.model-name }}.zip ${{ matrix.model-name }} - name: Upload the character databases uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4 with: name: onnx-models path: ${{ matrix.model-name }}.zip Loading @@ -84,7 +84,7 @@ jobs: git clone https://huggingface.co/deepghs/imgutils-models ls -al imgutils-models - name: Download from artifact uses: actions/download-artifact@v3 uses: actions/download-artifact@v4 with: name: onnx-models path: imgutils-models Loading
.github/workflows/release_test.yml +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ jobs: make package ls -al dist - name: Upload packed files to artifacts uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4 with: name: build-artifacts-source-pack path: ./dist/*
.github/workflows/test.yml +15 −2 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ on: jobs: unittest: name: Code test name: Test runs-on: ${{ matrix.os }} if: ${{ !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'test skip') }} strategy: Loading @@ -22,6 +22,14 @@ jobs: - '3.10' - '3.11' - '3.12' install: - 'full' - 'simple' exclude: - os: 'windows-latest' install: 'simple' - os: 'macos-latest' install: 'simple' steps: - name: Get system version for Linux Loading Loading @@ -86,8 +94,13 @@ jobs: python -m pip install --upgrade pip pip install --upgrade flake8 setuptools wheel twine pip install -r requirements.txt pip install -r requirements-model.txt pip install -r requirements-test.txt - name: Install full dependencies shell: bash if: ${{ matrix.install == 'full' }} run: | pip install -r requirements-model.txt pip install -r requirements-torchvision.txt - name: Test the basic environment shell: bash run: | Loading
docs/source/api_doc/preprocess/base.rst 0 → 100644 +14 −0 Original line number Diff line number Diff line imgutils.preprocess.base =========================================== .. currentmodule:: imgutils.preprocess.base .. automodule:: imgutils.preprocess.base NotParseTarget ----------------------------- .. autoclass:: NotParseTarget