From 34ea1a170c21a9c7021c534cece04e89c9bf0b77 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 3 May 2022 19:06:41 -0400 Subject: [PATCH] Update photoprism-install.sh --- setup/photoprism-install.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/setup/photoprism-install.sh b/setup/photoprism-install.sh index 4d39c9da..24d90dc1 100644 --- a/setup/photoprism-install.sh +++ b/setup/photoprism-install.sh @@ -86,22 +86,9 @@ ln -s /usr/local/go/bin/go /usr/local/bin/go &>/dev/null msg_ok "Installed Golang" msg_info "Installing Tensorflow" -AVX=$(grep -o -m1 'avx[^ ]*' /proc/cpuinfo) -if [[ "$AVX" == "avx2" ]]; then - wget https://dl.photoprism.org/tensorflow/linux/libtensorflow-linux-avx2-1.15.2.tar.gz &>/dev/null - tar -C /usr/local -xzf libtensorflow-linux-avx2-1.15.2.tar.gz &>/dev/null - ldconfig &>/dev/null -fi -if [[ "$AVX" == "avx" ]]; then - wget https://dl.photoprism.org/tensorflow/linux/libtensorflow-linux-avx-1.15.2.tar.gz &>/dev/null - tar -C /usr/local -xzf libtensorflow-linux-avx-1.15.2.tar.gz &>/dev/null - ldconfig &>/dev/null -fi -if [[ "$AVX" == "" ]]; then wget https://dl.photoprism.org/tensorflow/linux/libtensorflow-linux-cpu-1.15.2.tar.gz &>/dev/null tar -C /usr/local -xzf libtensorflow-linux-cpu-1.15.2.tar.gz &>/dev/null ldconfig &>/dev/null -fi msg_ok "Installed Tensorflow" msg_info "Cloning PhotoPrism"