strange-bench / code /requirements.txt
sidgairo18's picture
Generation code: generic documentation
3726258 verified
Raw History Blame Contribute Delete
923 Bytes
# STRANGE-Bench generation code: two environments, with the versions used for this release; the CPU stages
# (0, 4, 6) and the tests run in either.
#
# (a) generation environment: stages 1 and 2, SAM 3 audit of stage 5.
# Python 3.12, torch 2.11 (CUDA 13.0), diffusers 0.32.0, transformers 4.46.3, accelerate 1.13.0, numpy 2.4.4
torch>=2.4
diffusers>=0.32
transformers>=4.46
accelerate>=1.0
safetensors>=0.5
numpy>=2.0
scipy>=1.10
Pillow>=10
opencv-python>=4.8
pycocotools>=2.0.7
tqdm>=4.65
# SAM 3 (package version 0.1.0), installed from its repository:
# pip install git+https://github.com/facebookresearch/sam3.git
#
# (b) MMDetection environment: stage 3 (Grounding DINO lean audit) and the OWLv2 audit of stage 5.
# Python 3.8, torch 2.4.1 (CUDA 12.1), transformers 4.46.3, and
# mmengine==0.10.7 mmcv==2.1.0 mmdet==3.3.0 (mim install mmengine "mmcv==2.1.0" "mmdet==3.3.0")
#
# Tests (CPU): pytest