Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding the YOLACT instance segmentation model #1067

Closed
wants to merge 86 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
e5c2ff1
added yolact model
Abdullah-Elkasaby May 23, 2023
30f6fd5
added missing requirement
Abdullah-Elkasaby May 23, 2023
4924b2a
added binder for yolact model
Abdullah-Elkasaby May 23, 2023
728567a
refactored and formated notebook
Abdullah-Elkasaby May 24, 2023
f6b1efa
formatting error resolved
Abdullah-Elkasaby May 24, 2023
b6dee7d
removed binder
Abdullah-Elkasaby May 24, 2023
94edaba
Merge branch 'openvinotoolkit:main' into main
Abdullah-Elkasaby May 24, 2023
2eacd75
changed model drive url
Abdullah-Elkasaby May 25, 2023
18fd8a3
Merge branch 'main' of https://github.com/Abdullah-Elkasaby/openvino_…
Abdullah-Elkasaby May 25, 2023
88fa530
Merge branch 'main' into main
Abdullah-Elkasaby May 26, 2023
3c68a3d
Merge branch 'main' into main
Abdullah-Elkasaby May 26, 2023
6f74d34
Merge branch 'main' into main
Abdullah-Elkasaby May 26, 2023
6df4adb
output fixed for org model
Abdullah-Elkasaby Jun 19, 2023
b638cd7
output fixed for openvino model
Abdullah-Elkasaby Jun 19, 2023
5636811
fixed formatting and updated README
Abdullah-Elkasaby Jun 19, 2023
bc93660
merged changes from org repo
Abdullah-Elkasaby Jun 19, 2023
d9e2def
updated README
Abdullah-Elkasaby Jun 19, 2023
f72097e
Merge branch 'main' into main
Abdullah-Elkasaby Jun 19, 2023
18a95e6
Merge branch 'main' into main
Abdullah-Elkasaby Jun 19, 2023
5781bcc
fixed typos
Abdullah-Elkasaby Jun 19, 2023
419910a
Merge branch 'main' of https://github.com/Abdullah-Elkasaby/openvino_…
Abdullah-Elkasaby Jun 19, 2023
aea43b8
changed batch to cpu rather than cuda
Abdullah-Elkasaby Jun 19, 2023
b9e8cfa
fixed typos
Abdullah-Elkasaby Jun 19, 2023
a441c10
Merge branch 'main' into main
Abdullah-Elkasaby Jun 19, 2023
6059a2b
renamed dir to resolve conflict
Abdullah-Elkasaby Jun 19, 2023
b9e1f07
updated README
Abdullah-Elkasaby Jun 19, 2023
53e4781
updated notebook README
Abdullah-Elkasaby Jun 19, 2023
91ed85a
updated README to fix invalid url
Abdullah-Elkasaby Jun 19, 2023
ae1cf1a
Merge branch 'main' into main
Abdullah-Elkasaby Jun 20, 2023
f43eb8b
Merge branch 'main' into main
Abdullah-Elkasaby Jun 22, 2023
58493c5
removed comments and added descriptions
Abdullah-Elkasaby Jun 22, 2023
ff96d73
changeed URL to point to org model drive
Abdullah-Elkasaby Jun 22, 2023
e2c6bcd
Merge branch 'main' of https://github.com/Abdullah-Elkasaby/openvino_…
Abdullah-Elkasaby Jun 22, 2023
6e2cc94
removed blank spaces and updated descriptions
Abdullah-Elkasaby Jun 23, 2023
5b49aaa
removed internal gitignore
Abdullah-Elkasaby Jun 23, 2023
e8d3cf6
removed image and updated README
Abdullah-Elkasaby Jun 23, 2023
461be67
renamed dir and notebook to match
Abdullah-Elkasaby Jul 3, 2023
04fd2b4
Merge branch 'main' into main
Abdullah-Elkasaby Jul 3, 2023
16b1577
fixed different backbones
Abdullah-Elkasaby Jul 4, 2023
98254a7
changed structure of the yolact dir
Abdullah-Elkasaby Jul 12, 2023
ab91eec
added yolact.py encapsulating model initilization
Abdullah-Elkasaby Jul 12, 2023
3a2ad50
renamed dir to resolve conflict
Abdullah-Elkasaby Jul 13, 2023
72c4e99
updated README
Abdullah-Elkasaby Jul 13, 2023
8fd260e
Merge branch 'main' into main
Abdullah-Elkasaby Jul 13, 2023
61b2ce8
Merge branch 'main' into main
Abdullah-Elkasaby Jul 17, 2023
ef3be5a
updated README and renamed dir to resolve conflict
Abdullah-Elkasaby Jul 17, 2023
0562240
Merge branch 'main' into main
Abdullah-Elkasaby Jul 17, 2023
a8fea6c
added words and abberviations to pyspelling wordlist
Abdullah-Elkasaby Aug 7, 2023
7c511ab
renamed dir and updated README to resolve conflict with an existing m…
Abdullah-Elkasaby Aug 7, 2023
d4dbca3
Merge branch 'main' into main
Abdullah-Elkasaby Aug 7, 2023
a5042f0
updated README and renamed dir to resolve conflict
Abdullah-Elkasaby Aug 11, 2023
428e40c
Merge branch 'main' into main
Abdullah-Elkasaby Aug 11, 2023
731ef71
Merge branch 'main' into main
Abdullah-Elkasaby Aug 27, 2023
6d63b40
renamed directory to avoid conflicts
Dec 9, 2023
c267d2f
merged remote main into main
Dec 10, 2023
851ecc2
updated README
Dec 10, 2023
e6f2b20
Merge branch 'openvinotoolkit:main' into main
Abdullah-Elkasaby Dec 11, 2023
defe0d1
Merge branch 'main' into main
Abdullah-Elkasaby Dec 11, 2023
e2848c4
Fix: updated image reference
Jan 3, 2024
a9832c4
Fix: renamed dir and updated README to reslove conflict
Jan 3, 2024
d2ee53e
Merge branch 'main' into main
Abdullah-Elkasaby Jan 3, 2024
7ea50b6
Refactor: unused import
Jan 3, 2024
7f94c57
Refactor: updated the openvino conversion
Jan 3, 2024
02bc715
Refactor: unused imports
Jan 3, 2024
84ad726
Refactor: adding table of contents to notebook
Jan 4, 2024
556e8a0
Refactor: removing unused import
Jan 4, 2024
ec4e2ba
Merge branch 'main' into main
Abdullah-Elkasaby Jan 8, 2024
253ae9e
Merge branch 'main' into main
Abdullah-Elkasaby Jan 8, 2024
c665500
Merge branch 'main' into main
Abdullah-Elkasaby Jan 10, 2024
b7688d1
Merge branch 'main' into main
Abdullah-Elkasaby Jan 11, 2024
ad10abf
Merge branch 'main' into main
Abdullah-Elkasaby Jan 12, 2024
ed491f3
Reverting back to my working commit
Jan 12, 2024
c47cd8f
Fix: download model issue
Jan 12, 2024
7556539
removed unnecessary test
Jan 12, 2024
7ea5031
reverting conflicting commits
Jan 13, 2024
ea7aad9
removed uncessary block
Jan 13, 2024
a8c3b98
Merge remote 'main' into 'main'
Jan 15, 2024
1986b15
Merge remote 'main'
Jan 17, 2024
aad5983
Merge branch 'main' into main
Abdullah-Elkasaby Jan 18, 2024
70b26c1
Merge branch 'main' into main
Abdullah-Elkasaby Jan 19, 2024
6aae9cb
Merge remote 'main'
Jan 19, 2024
42d2310
resolved conflicts with remote 'main'
Jan 22, 2024
82f6fad
resolve conflicts with remote 'main'
Jan 23, 2024
f0bec6a
Merge branch 'main' into main
Abdullah-Elkasaby Jan 23, 2024
20980a0
Merge branch 'main' into main
Abdullah-Elkasaby Jan 23, 2024
c1faf28
Merge remote 'main'
Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions .ci/spellcheck/.pyspelling.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -754,5 +754,9 @@ Youri
youri
ZavyChromaXL
Zongyuan
FastBaseTransform
YOLACT
yolact
Yolact
ZeroScope
zeroscope
13 changes: 6 additions & 7 deletions .docker/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .github/workflows/codecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ jobs:
runs-on: ubuntu-20.04 # change cachepip step when changing this
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v2
- name: Dotenv Action
id: dotenv
uses: xom9ikk/[email protected]
with:
path: ./.github/workflows
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v1
with:
python-version: 3.8 # change cachepip step when changing this
- name: Cache OpenVINO Pip Packages
id: cachepip
uses: actions/cache@v3
uses: actions/cache@v2
with:
path: |
pipcache
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
Expand All @@ -37,13 +37,13 @@ jobs:
# that includes the dependencies
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v1
with:
languages: python
# Override the default behavior so that the action doesn't attempt
# to auto-install Python dependencies
setup-python-dependencies: false

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v1

16 changes: 8 additions & 8 deletions .github/workflows/convert_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ jobs:
# This should ideally be a reusable workflow

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v2
- name: Dotenv Action
id: dotenv
uses: xom9ikk/[email protected]
with:
path: ./.github/workflows
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install required packages
Expand All @@ -78,7 +78,7 @@ jobs:

- name: Cache OpenVINO Pip Packages
id: cachepip
uses: actions/cache@v3
uses: actions/cache@v2
with:
path: |
pipcache
Expand All @@ -87,7 +87,7 @@ jobs:
# Cache specific files to reduce downloads or prevent network issues
- name: Cache Files
id: cachefiles
uses: actions/cache@v3
uses: actions/cache@v2
with:
path: |
# NOTE: when modifying cache paths, update FILES_CACHE_KEY in .env
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
# Cache PaddlePaddle cache directories to prevent CI failing due to network/download issues
- name: Cache PaddlePaddle cache directories (per OS)
id: cacheusercache
uses: actions/cache@v3
uses: actions/cache@v2
with:
path: |
${{ env.HUB_HOME }}
Expand Down Expand Up @@ -174,9 +174,9 @@ jobs:
python -m pip freeze
python -m pip freeze > pip-freeze-${{ github.sha }}-${{matrix.os}}-${{ matrix.python }}.txt
- name: Archive pip freeze
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v2
with:
name: pip-freeze-${{matrix.os}}-${{ matrix.python }}
name: pip-freeze
path: pip-freeze-${{ github.sha }}-${{matrix.os}}-${{ matrix.python }}.txt

#### End installation/preparation
Expand All @@ -185,7 +185,7 @@ jobs:
shell: bash
run: .ci/convert_notebooks.sh
- name: Save reStructuredText files
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v2
with:
name: rst_files
path: rst_files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
sudo rm -rf /opt/ghc
echo "Available storage:"
df -h
- uses: actions/checkout@v4
- uses: actions/checkout@v2
- name: Build Docker image
run: |
docker build . -t openvino_notebooks
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate_tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:
runs-on: ubuntu-20.04 # change cachepip step when changing this
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v2
- name: Dotenv Action
id: dotenv
uses: xom9ikk/[email protected]
with:
path: ./.github/workflows
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Run tagger and store results in file
run: |
python .ci/tagger.py > notebook-tags-${{ github.sha }}.json
- name: Archive notebook tags
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v2
with:
name: notebook-tags
path: notebook-tags-${{ github.sha }}.json
12 changes: 6 additions & 6 deletions .github/workflows/install_requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macos-11, macos-12]
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.7", "3.8", "3.9", "3.10"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v2
- name: Dotenv Action
id: dotenv
uses: xom9ikk/[email protected]
with:
path: ./.github/workflows
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Cache OpenVINO Pip Packages
id: cachepip
uses: actions/cache@v3
uses: actions/cache@v2
with:
path: |
pipcache
Expand Down Expand Up @@ -60,9 +60,9 @@ jobs:
python -m pip freeze
python -m pip freeze > pip-freeze-${{ github.sha }}-${{matrix.os}}-${{ matrix.python }}.txt
- name: Archive pip freeze
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v2
with:
name: pip-freeze-${{matrix.os}}-${{ matrix.python }}
name: pip-freeze
path: pip-freeze-${{ github.sha }}-${{matrix.os}}-${{ matrix.python }}.txt
- name: Check install
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/install_requirements_china.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
Expand All @@ -29,9 +29,9 @@ jobs:
python -m ipykernel install --user --name openvino_env
python -m pip freeze > pip-freeze-${{ github.sha }}-${{matrix.os}}-${{ matrix.python }}.txt
- name: Archive pip freeze
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v2
with:
name: pip-freeze-${{matrix.os}}-${{ matrix.python }}
name: pip-freeze
path: pip-freeze-${{ github.sha }}-${{matrix.os}}-${{ matrix.python }}.txt
- name: Test that `jupyter lab` works
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
labelling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
- name: Add labels (Title/Description)
uses: github/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pip_conflicts_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-20.04 # change cachepip step when changing this
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v2

- name: Dotenv Action
id: dotenv
Expand All @@ -28,7 +28,7 @@ jobs:
path: ./.github/workflows

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v1
with:
python-version: 3.8 # change cachepip step when changing this

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-20.04 # change cachepip step when changing this
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v2

- name: Dotenv Action
id: dotenv
Expand All @@ -38,13 +38,13 @@ jobs:
path: ./.github/workflows

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v1
with:
python-version: 3.8 # change cachepip step when changing this

- name: Cache OpenVINO Pip Packages
id: cachepip
uses: actions/cache@v3
uses: actions/cache@v2
with:
path: |
pipcache
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/treon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# These steps are also copied to convert_notebooks.yml

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v2
- name: Dotenv Action
id: dotenv
uses: xom9ikk/[email protected]
Expand All @@ -44,13 +44,13 @@ jobs:
fi
shell: bash
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}

- name: Cache OpenVINO Pip Packages
id: cachepip
uses: actions/cache@v3
uses: actions/cache@v2
with:
path: |
pipcache
Expand All @@ -59,7 +59,7 @@ jobs:
# Cache specific files to reduce downloads or prevent network issues
- name: Cache Files
id: cachefiles
uses: actions/cache@v3
uses: actions/cache@v2
with:
path: |
# NOTE: when modifying cache paths, update FILES_CACHE_KEY in .env
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
# Cache PaddlePaddle cache directories to prevent CI failing due to network/download issues
- name: Cache PaddlePaddle cache directories
id: cacheusercache
uses: actions/cache@v3
uses: actions/cache@v2
with:
path: |
${{ env.HUB_HOME }}
Expand Down Expand Up @@ -147,9 +147,9 @@ jobs:
python -m pip freeze
python -m pip freeze > pip-freeze-${{ github.sha }}-${{matrix.os}}-${{ matrix.python }}.txt
- name: Archive pip freeze
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: pip-freeze-${{matrix.os}}-${{ matrix.python }}
name: pip-freeze
path: pip-freeze-${{ github.sha }}-${{matrix.os}}-${{ matrix.python }}.txt

#### End installation/preparation
Expand Down Expand Up @@ -185,14 +185,14 @@ jobs:
python .ci/validate_notebooks.py --ignore_list .ci/ignore_treon_mac.txt --report_dir test_report/${{matrix.os}}-${{ matrix.python }} --timeout 1200
shell: bash
- name: Archive test report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: test_report.csv-${{matrix.os}}-${{ matrix.python }}
name: test_report.csv
path: test_report.csv
- name: Archive notebook test report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: test_report-${{matrix.os}}-${{ matrix.python }}
name: test_report
path: test_report/

# Show the cache after running the notebooks
Expand Down
Loading
Loading