forked from TheWrightServer/ProxmoxVE
detect sse 4.2 (#328)
see if sse 4.2 is on the processor, if so add openvino.
This commit is contained in:
parent
fb0706469b
commit
a3ff42b122
@ -104,8 +104,8 @@ fi
|
|||||||
echo "tmpfs /tmp/cache tmpfs defaults 0 0" >> /etc/fstab
|
echo "tmpfs /tmp/cache tmpfs defaults 0 0" >> /etc/fstab
|
||||||
msg_ok "Installed Frigate $RELEASE"
|
msg_ok "Installed Frigate $RELEASE"
|
||||||
|
|
||||||
if grep -q -o -m1 'avx[^ ]*' /proc/cpuinfo; then
|
if grep -q -o -m1 -E 'avx[^ ]* | sse4_2' /proc/cpuinfo; then
|
||||||
msg_ok "AVX Support Detected"
|
msg_ok "AVX or SSE 4.2 Support Detected"
|
||||||
msg_info "Installing Openvino Object Detection Model (Resilience)"
|
msg_info "Installing Openvino Object Detection Model (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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user