Skip to content

Commit

Permalink
Update dependencies and setup
Browse files Browse the repository at this point in the history
  • Loading branch information
weiloon-datature committed Mar 11, 2024
1 parent b8a4bce commit b9b287f
Show file tree
Hide file tree
Showing 7 changed files with 1,014 additions and 1,061 deletions.
12 changes: 6 additions & 6 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ verify_ssl = true

[packages]
apscheduler = "==3.7.0"
datature = "==1.0.1"
datature = "==1.6.0"
dirhash = "==0.2.1"
flask = "==2.0.0"
flask-cors = "==3.0.10"
Expand All @@ -16,13 +16,13 @@ numpy = "==1.21.6"
onnx = "==1.12.0"
onnx2torch = "==1.5.6"
onnxruntime = "==1.14.1"
opencv-python = "==4.6.0.66"
pillow = "==8.2.0"
opencv-python = "==4.7.0.72"
pillow = "==9.5.0"
scandir = "==1.10.0"
scantree = "==0.0.1"
shapely = "==2.0.1"
tensorflow = "==2.10.0"
tensorflow-macos = {version = "==2.10.0", sys_platform = "== 'darwin'", platform_machine = "== 'arm64'"}
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"
Expand All @@ -33,4 +33,4 @@ isort = "*"
pylint = "*"

[requires]
python_version = "3.7"
python_version = "3.9"
2,050 changes: 1,001 additions & 1,049 deletions Pipfile.lock

Large diffs are not rendered by default.

Empty file modified build-windows.sh
100644 → 100755
Empty file.
5 changes: 3 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
},
"devDependencies": {
"electron": "^13.1.2",
"electron-builder": "^23.0.2",
"electron-builder": "^23.6.0",
"npx": "^10.2.2"
},
"optionalDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ scandir==1.10.0
scantree==0.0.1
shapely==2.0.1
tensorflow==2.11.0; sys_platform != 'darwin' or platform_machine != 'arm64'
tensorflow-macos==2.10.0; sys_platform == 'darwin' and platform_machine == 'arm64'
tensorflow-macos==2.11.0; sys_platform == 'darwin' and platform_machine == 'arm64'
torch==1.12.1
torchvision==0.13.1
onnx==1.12.0
onnx2torch==1.5.6
onnxruntime==1.14.1
ultralytics==8.0.112
ultralytics==8.0.133
werkzeug==2.0.0
2 changes: 1 addition & 1 deletion setup-virtualenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ else
python3 -m pip install --upgrade pip
python3 -m pip install pipenv
fi
PIPENV_VENV_IN_PROJECT=1 PIPENV_DEFAULT_PYTHON_VERSION=3.7 pipenv sync -d
PIPENV_VENV_IN_PROJECT=1 PIPENV_DEFAULT_PYTHON_VERSION=3.9 pipenv sync -d

cd ..

Expand Down

0 comments on commit b9b287f

Please sign in to comment.