From a1ed11a1b39d6504ee0635942f544408666f0d40 Mon Sep 17 00:00:00 2001 From: Niaz Faridani-Rad Date: Sat, 1 Jul 2023 14:33:16 +0200 Subject: [PATCH] Use pytorch 2.0.1 --- install-librephotos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-librephotos.sh b/install-librephotos.sh index 75cba95..f46d383 100755 --- a/install-librephotos.sh +++ b/install-librephotos.sh @@ -139,7 +139,7 @@ curl -SL https://github.com/LibrePhotos/librephotos-docker/releases/download/0.1 curl -SL https://github.com/LibrePhotos/librephotos-docker/releases/download/0.1/clip-embeddings.tar.gz | tar -zxC $BASE_DATA/data_models/ mkdir -p ~/.cache/torch/hub/checkpoints/ curl -SL https://download.pytorch.org/models/resnet152-b121ed2d.pth -o ~/.cache/torch/hub/checkpoints/resnet152-b121ed2d.pth -pip3 install torch==1.7.1+cpu torchvision==0.8.2+cpu -f https://download.pytorch.org/whl/torch_stable.html +pip3 install --no-cache-dir torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu pip3 install -v --install-option="--no" --install-option="DLIB_USE_CUDA" dlib pip3 install pyvips git clone https://github.com/LibrePhotos/librephotos.git backend