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."