Compare commits
4 Commits
030b27ba9d
...
4c398b9603
Author | SHA1 | Date |
---|---|---|
slashtechno | 4c398b9603 | |
slashtechno | 5e29974839 | |
slashtechno | f2d5fa8cf9 | |
slashtechno | 0b224cce31 |
|
@ -8,12 +8,15 @@
|
||||||
|
|
||||||
name: Upload Python Package
|
name: Upload Python Package
|
||||||
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "wyzely-detect"
|
name = "wyzely-detect"
|
||||||
version = "0.1.1"
|
version = "0.2.1"
|
||||||
description = "Recognize faces/objects in a video stream (from a webcam or a security camera) and send notifications to your devices"
|
description = "Recognize faces/objects in a video stream (from a webcam or a security camera) and send notifications to your devices"
|
||||||
authors = ["slashtechno <77907286+slashtechno@users.noreply.github.com>"]
|
authors = ["slashtechno <77907286+slashtechno@users.noreply.github.com>"]
|
||||||
repository = "https://github.com/slashtechno/wyzely-detect"
|
repository = "https://github.com/slashtechno/wyzely-detect"
|
||||||
|
@ -27,14 +27,20 @@ torch = {version = "2.1.*", source = "pytorch-cpu", markers = "extra!='cuda'" }
|
||||||
|
|
||||||
# https://stackoverflow.com/a/76477590/18270659
|
# https://stackoverflow.com/a/76477590/18270659
|
||||||
# https://discfuss.tensorflow.org/t/tensorflow-io-gcs-filesystem-with-windows/18849/4
|
# https://discfuss.tensorflow.org/t/tensorflow-io-gcs-filesystem-with-windows/18849/4
|
||||||
|
# https://github.com/python-poetry/poetry/issues/8271#issuecomment-1712020965
|
||||||
# Might be able to remove this version constraint later
|
# Might be able to remove this version constraint later
|
||||||
# Working versions:
|
# Working versions:
|
||||||
# Python version 3.10.12 and 3.10.5 both work
|
# Python version 3.10.12 and 3.10.5 both work
|
||||||
# CUDA version - 12.2
|
# CUDA version - 12.2
|
||||||
# cuDNN version - 8.8.1
|
# cuDNN version - 8.8.1
|
||||||
# Installed from Nvidia website - nvidia-cuda-toolkit is not installed, but default PopOS drivers are installed
|
# Installed from Nvidia website - nvidia-cuda-toolkit is not installed, but default PopOS drivers are installed
|
||||||
tensorflow-io-gcs-filesystem = "0.31.0"
|
absl-py = "^2.1.0"
|
||||||
tensorflow = {version = "^2.14.0", markers = "extra!='cuda'"}
|
tensorflow = {version = "^2.13.0", markers = "extra!='cuda'"}
|
||||||
|
tensorflow-macos = { version = "^2.13.0", platform = "darwin", markers = "platform_machine=='arm64'" }
|
||||||
|
tensorflow-intel = { version = "^2.13.0", platform = "win32" }
|
||||||
|
tensorflow-io-gcs-filesystem = [
|
||||||
|
{ version = "< 0.32.0", markers = "platform_system == 'Windows'" }
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
deepface = "^0.0.79"
|
deepface = "^0.0.79"
|
||||||
|
|
|
@ -95,6 +95,7 @@ def set_argparse():
|
||||||
"--ntfy-url",
|
"--ntfy-url",
|
||||||
default=os.environ["NTFY_URL"]
|
default=os.environ["NTFY_URL"]
|
||||||
if "NTFY_URL" in os.environ and os.environ["NTFY_URL"] != ""
|
if "NTFY_URL" in os.environ and os.environ["NTFY_URL"] != ""
|
||||||
|
# This is None but there is a default set in notify.py
|
||||||
else None,
|
else None,
|
||||||
type=str,
|
type=str,
|
||||||
help="The URL to send notifications to",
|
help="The URL to send notifications to",
|
||||||
|
|
Loading…
Reference in New Issue