# cutout_pro.py - tested 14 Nov 2026 on Windows 10, Python 3.12.13, RTX 3060 12 GB. # # STEP 1 - install PyTorch with CUDA FIRST (from the PyTorch index, not plain PyPI): # pip install torch==2.11.0 torchvision==0.26.0 --index-url https://download.pytorch.org/whl/cu128 # (A plain "pip install torch" on Windows gives the CPU-only build, which is very slow.) # # STEP 2 - then the rest: # pip install -r requirements.txt transformers==5.23.0 huggingface-hub==2.4.0 safetensors==0.8.0 timm==1.0.31 kornia==0.9.1 einops==0.8.2 pymatting==1.1.16 numba==0.68.1 scipy==1.18.1 numpy==2.5.2 opencv-python-headless==5.0.0.93 pillow==12.3.0