Upgrade tflite

This commit is contained in:
Alexandre
2025-03-05 12:47:22 +01:00
committed by GitHub
parent 362857d05c
commit 56e6d1e8de

View File

@@ -92,6 +92,8 @@ RUN \
# Upgrade tflite runtime
sed -i '/git clone/a sed -i "s|https://github.com/Nachtzuster/BirdNET-Pi/releases/download/v0.1/|https://github.com/feranick/TFlite-builds/releases/download/v2.17.1/|g" $HOME/BirdNET-Pi/scripts/install_helpers.sh' /newinstaller.sh && \
sed -i '/git clone/a sed -i "s|2.11.0|2.17.1|g" $HOME/BirdNET-Pi/scripts/install_helpers.sh' /newinstaller.sh && \
sed -i '/git clone/a sed -i "s|2.11.0|2.17.1|g" $HOME/BirdNET-Pi/scripts/update_birdnet_snippets.sh' /newinstaller.sh && \
sed -i '/git clone/a sed -i "s|numpy==1.23.5|numpy-1.26.4|g" $HOME/BirdNET-Pi/scripts/update_birdnet_snippets.sh' /newinstaller.sh && \
# Remove all instances of sudo from the newinstaller
sed -i -e "s|== 0|== 7|g" -e "s|sudo -n true|true|g" -e "s|sudo -K|true|g" /newinstaller.sh && \
\