mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
2847d9cc9a
...
55175f9b31
Author | SHA1 | Date |
---|---|---|
|
55175f9b31 | |
|
1cded8c053 |
|
@ -18,9 +18,7 @@ $STD apt-get install -y {curl,sudo,mc,git,gpg,automake,build-essential,xz-utils,
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Python3 Dependencies"
|
msg_info "Installing Python3 Dependencies"
|
||||||
$STD apt-get install -y {python3,python3-dev,python3-setuptools,python3-distutils}
|
$STD apt-get install -y {python3,python3-dev,python3-setuptools,python3-distutils,python3-pip}
|
||||||
wget -q https://bootstrap.pypa.io/get-pip.py -O get-pip.py
|
|
||||||
$STD python3 get-pip.py --quiet "pip"
|
|
||||||
msg_ok "Installed Python3 Dependencies"
|
msg_ok "Installed Python3 Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Node.js"
|
msg_info "Installing Node.js"
|
||||||
|
@ -79,8 +77,18 @@ sed -i '/^s6-svc -O \.$/s/^/#/' /opt/frigate/docker/main/rootfs/etc/s6-overlay/s
|
||||||
cat <<EOF >/config/config.yml
|
cat <<EOF >/config/config.yml
|
||||||
mqtt:
|
mqtt:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
detectors:
|
||||||
|
ov:
|
||||||
|
type: openvino
|
||||||
|
device: AUTO
|
||||||
|
model:
|
||||||
|
path: /openvino-model/FP16/ssdlite_mobilenet_v2.xml
|
||||||
model:
|
model:
|
||||||
path: /cpu_model.tflite
|
width: 300
|
||||||
|
height: 300
|
||||||
|
input_tensor: nhwc
|
||||||
|
input_pixel_format: bgr
|
||||||
|
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
|
||||||
cameras:
|
cameras:
|
||||||
test:
|
test:
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
|
@ -104,7 +112,8 @@ msg_info "Installing Object Detection Models (Resilience)"
|
||||||
$STD pip install -r /opt/frigate/docker/main/requirements-ov.txt
|
$STD pip install -r /opt/frigate/docker/main/requirements-ov.txt
|
||||||
cd /opt/frigate/models
|
cd /opt/frigate/models
|
||||||
export ENABLE_ANALYTICS=NO
|
export ENABLE_ANALYTICS=NO
|
||||||
$STD /usr/local/bin/omz_downloader --name ssdlite_mobilenet_v2
|
$STD /usr/local/bin/omz_downloader --name ssdlite_mobilenet_v2 --num_attempts 2
|
||||||
|
$STD /usr/local/bin/omz_converter --name ssdlite_mobilenet_v2 --precision FP16 --mo /usr/local/bin/mo
|
||||||
cd ..
|
cd ..
|
||||||
export CCACHE_DIR=/root/.ccache
|
export CCACHE_DIR=/root/.ccache
|
||||||
export CCACHE_MAXSIZE=2G
|
export CCACHE_MAXSIZE=2G
|
||||||
|
|
Loading…
Reference in New Issue