Update frigate-install.sh

This commit is contained in:
CanbiZ 2025-07-24 11:46:19 +02:00
parent 27fb6be7fe
commit 1ac8f6b279

View File

@ -117,15 +117,15 @@ 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"
read -p "Semantic Search requires a dedicated GPU and at least 16GB RAM. Would you like to install it? (y/n): " semantic_choice # read -p "Semantic Search requires a dedicated GPU and at least 16GB RAM. Would you like to install it? (y/n): " semantic_choice
if [[ "$semantic_choice" == "y" ]]; then # if [[ "$semantic_choice" == "y" ]]; then
msg_info "Configuring Semantic Search & AI Models" # msg_info "Configuring Semantic Search & AI Models"
mkdir -p /opt/frigate/models/semantic_search # mkdir -p /opt/frigate/models/semantic_search
curl -fsSL -o /opt/frigate/models/semantic_search/clip_model.pt https://huggingface.co/openai/clip-vit-base-patch32/resolve/main/pytorch_model.bin # curl -fsSL -o /opt/frigate/models/semantic_search/clip_model.pt https://huggingface.co/openai/clip-vit-base-patch32/resolve/main/pytorch_model.bin
msg_ok "Semantic Search Models Installed" # msg_ok "Semantic Search Models Installed"
else # else
msg_ok "Skipped Semantic Search Setup" # msg_ok "Skipped Semantic Search Setup"
fi # fi
msg_info "Building and Installing libUSB without udev" msg_info "Building and Installing libUSB without udev"
wget -qO /tmp/libusb.zip https://github.com/libusb/libusb/archive/v1.0.29.zip wget -qO /tmp/libusb.zip https://github.com/libusb/libusb/archive/v1.0.29.zip