From dbfb19b9b81d07574acb70f57a3b47eed02bcca5 Mon Sep 17 00:00:00 2001 From: Smiril Date: Tue, 27 Feb 2024 15:22:12 +0100 Subject: [PATCH] Patch for upgrade --- scripts/0_patch.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scripts/0_patch.sh diff --git a/scripts/0_patch.sh b/scripts/0_patch.sh new file mode 100644 index 0000000..9237e54 --- /dev/null +++ b/scripts/0_patch.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +cd "$(dirname $0)/.." +eval "$(/opt/homebrew/bin/brew shellenv)" + +set -e + +source .dfl/deep/bin/activate + +set -e + +python3.11 -m pip install --upgrade pip numpy opencv-python colorama tqdm future tensorflow-macos scipy + +source .dfl/env/bin/activate + +set -e + +python3.10 -m pip install --upgrade pip numpy opencv-python colorama tqdm future tensorflow-macos scipy + +cp -R .dfl/ffmpeg/ffmpeg .dfl/deep/lib/python$(version)/site-packages/ + +echo "Done."