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

Merge from develop branch #174

Merged
merged 25 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
755c0fa
updated to match v0.5.6
marcus-neo May 17, 2023
8822235
update engine-workflow
marcus-neo May 17, 2023
4bd65f8
minor fixes
marcus-neo May 17, 2023
609a668
FIX: Added Support for M1 Chip
Jun 20, 2023
d4cb66d
Merge pull request #149 from datature/hot-fixes-v0.5.6
denzel-datature Jul 7, 2023
33a6301
FIX: Windows compatibility issues (#154)
weiloon-datature Jul 17, 2023
79283e5
Merge branch 'develop' into develop
weiloon-datature Jul 18, 2023
dc904e6
Merge pull request #151 from ivankqw/develop
weiloon-datature Jul 18, 2023
3e389f2
Fixed electron build for MacOS
weiloon-datature Jul 18, 2023
6d3c8bd
Merge pull request #157 from datature/fixes/electron-build-macos
weiloon-datature Jul 18, 2023
626f42e
Support loading and predicting using YOLOv8 models
weiloon-datature Jul 19, 2023
0c45e40
Fixed model format inference
weiloon-datature Jul 19, 2023
113da51
Fixed py-cpuinfo import errors
weiloon-datature Jul 26, 2023
0d7b9a7
Update docs
weiloon-datature Jul 26, 2023
86f3246
Update release workflow
weiloon-datature Jul 26, 2023
638930e
Fixed eslint issues
weiloon-datature Jul 26, 2023
0794f10
Revert legacy icons
weiloon-datature Jul 26, 2023
f30c2e8
Merge pull request #159 from datature/yolov8-support
weiloon-datature Jul 27, 2023
389eeec
Hot fixes v0.5.8 (#162)
weiloon-datature Sep 18, 2023
060c3b0
Merge divergent branches from release (#164)
weiloon-datature Sep 18, 2023
b85b64c
Update release workflow (#166)
weiloon-datature Sep 19, 2023
2673a13
Revert merge conflicts (#167)
weiloon-datature Sep 19, 2023
37e4c32
Create Support for Datature API (#169)
marcus-datature Mar 11, 2024
6ec848c
Add Support for Python SDK v1.6.0 (#170)
weiloon-datature Mar 12, 2024
530843f
Parity for release <> develop (#173)
weiloon-datature Mar 12, 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
8 changes: 4 additions & 4 deletions .github/workflows/engine-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8]
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -32,4 +32,4 @@ jobs:
if [ -f ./requirements.txt ]; then pip install -r ./requirements.txt; fi
- name: Lint with
run: |
pylint ./src/engine
pylint ./src/engine/server
19 changes: 10 additions & 9 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
os: [macos-latest, windows-latest]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set the env variables
run: |
echo "USE_HARD_LINKS=false" >> $GITHUB_ENV
Expand All @@ -33,17 +33,17 @@ jobs:
shell: bash
run: |
if [ ${{ steps.extract_platform.outputs.platform }} = "windows" ]; then
echo "##[set-output name=name;]$(echo Portal Setup ${{ steps.extract_version.outputs.version }}.exe)"
echo "##[set-output name=name;]$(echo Portal Setup ${{ steps.extract_version.outputs.version }}.exe)"
elif [ ${{ steps.extract_platform.outputs.platform }} = "ubuntu" ]; then
echo "##[set-output name=name;]$(echo Portal-${{ steps.extract_version.outputs.version }}.AppImage)"
echo "##[set-output name=name;]$(echo Portal-${{ steps.extract_version.outputs.version }}.AppImage)"
else
echo "##[set-output name=name;]$(echo Portal-${{ steps.extract_version.outputs.version }}.dmg)"
echo "##[set-output name=name;]$(echo Portal-${{ steps.extract_version.outputs.version }}.dmg)"
fi
id: extract_executable_name

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: "3.10"

- name: Install Engine dependencies
run: |
Expand All @@ -56,10 +56,11 @@ jobs:
working-directory: ./src/engine
shell: bash
run: |
pyinstaller -F run.py --hidden-import datature-hub --hidden-import engineio.async_drivers.threading --distpath ../../portal_build/dist
pyinstaller --collect-data ultralytics --hidden-import pydicom.encoders.gdcm --hidden-import pydicom.encoders.pylibjpeg --hidden-import engineio.async_drivers.threading -F run.py --distpath ../../portal_build/dist
if [ -f ../../portal_build/dist/run ]; then
chmod u+x ../../portal_build/dist/run
mv ../../portal_build/dist/run ../../portal_build/dist/run.exe
chmod u+x ../../portal_build/dist/run
else
chmod u+x ../../portal_build/dist/run.exe
fi
chmod u+x ../../portal_build/dist/run.exe

Expand Down
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ confidence=
# --disable=W"
# TODO: remove R1710 (inconsistent-return-statements)
# TODO: remove C0111 (missing-docstring)
disable=similarities,fixme,I0011,E1102,R1710,C0111,C0330
disable=similarities,fixme,I0011,E1102,R1710,C0111,cyclic-import

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down Expand Up @@ -424,4 +424,4 @@ known-third-party=enchant

# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception
overgeneral-exceptions=builtins.Exception
33 changes: 21 additions & 12 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
flask-restful = "==0.3.9"
apscheduler = "==3.7.0"
datature = "==1.6.0"
dirhash = "==0.2.1"
flask = "==2.0.0"
flask-cors = "==3.0.10"
flask-restful = "==0.3.9"
flask-socketio = "==5.1.0"
numpy = "==1.18.5"
tensorflow = "==2.3.0"
opencv-python = "==4.5.1.48"
jsonpickle = "==2.0.0"
dirhash = "==0.2.1"
numpy = "==1.21.6"
onnx = "==1.12.0"
onnx2torch = "==1.5.6"
onnxruntime = "==1.14.1"
opencv-python = "==4.7.0.72"
pillow = "==9.5.0"
scandir = "==1.10.0"
apscheduler = "==3.7.0"
datature-hub = "==0.2.0"
pillow = "==8.2.0"
shapely = "==1.7.1"
scantree = "==0.0.1"
shapely = "==2.0.1"
tensorflow = "==2.11.0"
tensorflow-macos = {version = "==2.11.0", sys_platform = "== 'darwin'", platform_machine = "== 'arm64'"}
torch = "==1.12.1"
torchvision = "==0.13.1"
ultralytics = "==8.0.133"
werkzeug = "==2.0.0"

[dev-packages]
pylint = "*"
isort = "*"
pylint = "*"

[requires]
python_version = "3.7"
python_version = "3.9"
Loading
Loading