mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-25 10:06:18 +00:00
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
|
||||
msg_ok "Installed Frigate $RELEASE"
|
||||
|
||||
if grep -q -o -m1 'avx[^ ]*' /proc/cpuinfo; then
|
||||
msg_ok "AVX Support Detected"
|
||||
if grep -q -o -m1 -E 'avx[^ ]* | sse4_2' /proc/cpuinfo; then
|
||||
msg_ok "AVX or SSE 4.2 Support Detected"
|
||||
msg_info "Installing Openvino Object Detection Model (Resilience)"
|
||||
$STD pip install -r /opt/frigate/docker/main/requirements-ov.txt
|
||||
cd /opt/frigate/models
|
||||
|
Loading…
Reference in New Issue
Block a user