Update requirements.txt
Browse files- requirements.txt +22 -17
requirements.txt
CHANGED
|
@@ -10,20 +10,20 @@ imageio-ffmpeg==0.4.8
|
|
| 10 |
ffmpeg-python==0.2.0
|
| 11 |
moviepy==1.0.3
|
| 12 |
|
| 13 |
-
# Build tools
|
| 14 |
-
hatchling>=1.18.0
|
| 15 |
-
build>=0.10.0
|
| 16 |
-
wheel>=0.40.0
|
| 17 |
-
setuptools>=68.0.0
|
| 18 |
|
| 19 |
# Additional dependencies
|
| 20 |
-
hydra-core>=1.3.2
|
| 21 |
-
hickle>=5.0
|
| 22 |
-
gdown>=4.7.1
|
| 23 |
easydict
|
| 24 |
av>=0.5.2
|
| 25 |
-
cython>=0.29
|
| 26 |
-
gitpython>=3.1
|
| 27 |
|
| 28 |
# Image Processing & Utilities
|
| 29 |
scipy>=1.7.0
|
|
@@ -36,20 +36,25 @@ psutil>=5.9.0
|
|
| 36 |
--extra-index-url https://download.pytorch.org/whl/cu118
|
| 37 |
torch==2.1.0+cu118
|
| 38 |
torchvision==0.16.0+cu118
|
| 39 |
-
torchaudio==2.1.0+cu118
|
| 40 |
|
| 41 |
-
# Background Removal
|
| 42 |
-
rembg
|
|
|
|
|
|
|
| 43 |
|
| 44 |
# API & Networking
|
| 45 |
requests>=2.31.0
|
| 46 |
-
aiohttp>=3.8.0
|
| 47 |
|
| 48 |
# Performance monitoring
|
| 49 |
-
py-cpuinfo>=9.0.0
|
| 50 |
-
GPUtil>=1.4.0
|
| 51 |
nvidia-ml-py3>=7.352.0
|
| 52 |
|
| 53 |
# Git packages
|
| 54 |
git+https://github.com/pq-yang/MatAnyone.git
|
| 55 |
-
thinplate @ git+https://github.com/cheind/py-thin-plate-spline
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
ffmpeg-python==0.2.0
|
| 11 |
moviepy==1.0.3
|
| 12 |
|
| 13 |
+
# Build tools - Kommenteret ud, HF Spaces håndterer dette
|
| 14 |
+
# hatchling>=1.18.0
|
| 15 |
+
# build>=0.10.0
|
| 16 |
+
# wheel>=0.40.0
|
| 17 |
+
# setuptools>=68.0.0
|
| 18 |
|
| 19 |
# Additional dependencies
|
| 20 |
+
# hydra-core>=1.3.2 # Ikke brugt i BackgroundFX
|
| 21 |
+
# hickle>=5.0 # Ikke brugt i BackgroundFX
|
| 22 |
+
# gdown>=4.7.1 # Ikke brugt i BackgroundFX
|
| 23 |
easydict
|
| 24 |
av>=0.5.2
|
| 25 |
+
# cython>=0.29 # Kan give build fejl
|
| 26 |
+
# gitpython>=3.1 # Ikke brugt i BackgroundFX
|
| 27 |
|
| 28 |
# Image Processing & Utilities
|
| 29 |
scipy>=1.7.0
|
|
|
|
| 36 |
--extra-index-url https://download.pytorch.org/whl/cu118
|
| 37 |
torch==2.1.0+cu118
|
| 38 |
torchvision==0.16.0+cu118
|
| 39 |
+
# torchaudio==2.1.0+cu118 # Moviepy håndterer audio
|
| 40 |
|
| 41 |
+
# Background Removal - OPDATERET til GPU version
|
| 42 |
+
rembg[gpu]==2.0.50 # Specificeret GPU version
|
| 43 |
+
onnxruntime-gpu==1.16.3 # TILFØJET for GPU support
|
| 44 |
+
pymatting==1.1.8 # TILFØJET for bedre kant-kvalitet
|
| 45 |
|
| 46 |
# API & Networking
|
| 47 |
requests>=2.31.0
|
| 48 |
+
# aiohttp>=3.8.0 # Requests er nok
|
| 49 |
|
| 50 |
# Performance monitoring
|
| 51 |
+
# py-cpuinfo>=9.0.0 # psutil dækker dette
|
| 52 |
+
# GPUtil>=1.4.0 # nvidia-ml-py3 dækker dette
|
| 53 |
nvidia-ml-py3>=7.352.0
|
| 54 |
|
| 55 |
# Git packages
|
| 56 |
git+https://github.com/pq-yang/MatAnyone.git
|
| 57 |
+
# thinplate @ git+https://github.com/cheind/py-thin-plate-spline # Kan fejle ved build
|
| 58 |
+
|
| 59 |
+
# Optional: SAM2 for advanced segmentation
|
| 60 |
+
# git+https://github.com/facebookresearch/segment-anything-2.git
|