Loading .github/workflows/badge.yml +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: python-version: [ 3.7 ] python-version: [ 3.8 ] steps: - name: Checkout code uses: actions/checkout@v2 Loading .github/workflows/doc.yml +2 −2 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ jobs: if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} strategy: matrix: python-version: [ 3.7 ] python-version: [ 3.8 ] services: plantuml: Loading Loading @@ -89,7 +89,7 @@ jobs: if: "!contains(github.event.head_commit.message, 'ci skip')" strategy: matrix: python-version: [ 3.7 ] python-version: [ 3.8 ] services: plantuml: Loading .github/workflows/test.yml +4 −2 Original line number Diff line number Diff line #file: noinspection YAMLSchemaValidation name: Code Test on: Loading @@ -7,7 +8,7 @@ jobs: unittest: name: Code test runs-on: ${{ matrix.os }} if: "!contains(github.event.head_commit.message, 'ci skip')" if: ${{ !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'test skip') }} strategy: fail-fast: false matrix: Loading @@ -22,7 +23,8 @@ jobs: - '3.10' - '3.11' exclude: - python-version: '3.11' - os: 'macos-latest' python-version: '3.7' steps: - name: Get system version for Linux Loading MANIFEST.in +1 −1 Original line number Diff line number Diff line Loading @@ -2,4 +2,4 @@ include README.md include MANIFEST.in include requirements.txt include requirements-*.txt recursive-include imgutils *.json *.yml *.yaml recursive-include imgutils *.json *.yml *.yaml *.png README.md +7 −3 Original line number Diff line number Diff line Loading @@ -71,13 +71,17 @@ print(lpips_clustering(images)) # -1 means noises, the same as that in sklearn Currently, object detection is supported for anime heads and person, as shown below * Face Detection  * Head Detection   * Person Detection   Based on practical tests, head detection currently has a very stable performance and can be used for automation tasks. However, person detection is still being further iterated and will focus on enhancing detection capabilities for Loading @@ -88,7 +92,7 @@ artistic illustrations in the future. Anime images can be converted to line drawings using the model provided by [patrickvonplaten/controlnet_aux](https://github.com/patrickvonplaten/controlnet_aux), as shown below.   It is worth noting that the `lineart` model may consume more computational resources, while `canny` is the fastest but has average effect. Therefore, `lineart_anime` may be the most balanced choice in most cases. Loading Loading
.github/workflows/badge.yml +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: python-version: [ 3.7 ] python-version: [ 3.8 ] steps: - name: Checkout code uses: actions/checkout@v2 Loading
.github/workflows/doc.yml +2 −2 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ jobs: if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} strategy: matrix: python-version: [ 3.7 ] python-version: [ 3.8 ] services: plantuml: Loading Loading @@ -89,7 +89,7 @@ jobs: if: "!contains(github.event.head_commit.message, 'ci skip')" strategy: matrix: python-version: [ 3.7 ] python-version: [ 3.8 ] services: plantuml: Loading
.github/workflows/test.yml +4 −2 Original line number Diff line number Diff line #file: noinspection YAMLSchemaValidation name: Code Test on: Loading @@ -7,7 +8,7 @@ jobs: unittest: name: Code test runs-on: ${{ matrix.os }} if: "!contains(github.event.head_commit.message, 'ci skip')" if: ${{ !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'test skip') }} strategy: fail-fast: false matrix: Loading @@ -22,7 +23,8 @@ jobs: - '3.10' - '3.11' exclude: - python-version: '3.11' - os: 'macos-latest' python-version: '3.7' steps: - name: Get system version for Linux Loading
MANIFEST.in +1 −1 Original line number Diff line number Diff line Loading @@ -2,4 +2,4 @@ include README.md include MANIFEST.in include requirements.txt include requirements-*.txt recursive-include imgutils *.json *.yml *.yaml recursive-include imgutils *.json *.yml *.yaml *.png
README.md +7 −3 Original line number Diff line number Diff line Loading @@ -71,13 +71,17 @@ print(lpips_clustering(images)) # -1 means noises, the same as that in sklearn Currently, object detection is supported for anime heads and person, as shown below * Face Detection  * Head Detection   * Person Detection   Based on practical tests, head detection currently has a very stable performance and can be used for automation tasks. However, person detection is still being further iterated and will focus on enhancing detection capabilities for Loading @@ -88,7 +92,7 @@ artistic illustrations in the future. Anime images can be converted to line drawings using the model provided by [patrickvonplaten/controlnet_aux](https://github.com/patrickvonplaten/controlnet_aux), as shown below.   It is worth noting that the `lineart` model may consume more computational resources, while `canny` is the fastest but has average effect. Therefore, `lineart_anime` may be the most balanced choice in most cases. Loading