From c4af7baf3d7e99bcfc978310a1231e92fe24962d Mon Sep 17 00:00:00 2001 From: Scott Register Date: Sat, 26 Jul 2025 08:55:27 -0700 Subject: [PATCH] decord --- requirements.txt | 3 ++- runpod_setup.sh | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index cddad16..5ef24af 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,4 +8,5 @@ ultralytics>=8.0.0 # sam2>=1.0.0 # Install via git: pip install git+https://github.com/facebookresearch/segment-anything-2.git tqdm>=4.65.0 psutil>=5.9.0 -ffmpeg-python>=0.2.0 \ No newline at end of file +ffmpeg-python>=0.2.0 +decord>=0.6.0 \ No newline at end of file diff --git a/runpod_setup.sh b/runpod_setup.sh index ab199e0..5aa992c 100755 --- a/runpod_setup.sh +++ b/runpod_setup.sh @@ -14,6 +14,10 @@ echo "🐍 Installing Python dependencies..." pip install --upgrade pip pip install -r requirements.txt +# Install decord for SAM2 video loading +echo "📹 Installing decord for video processing..." +pip install decord + # Install SAM2 separately (not on PyPI) echo "🎯 Installing SAM2..." pip install git+https://github.com/facebookresearch/segment-anything-2.git