13 lines
422 B
Plaintext
13 lines
422 B
Plaintext
# Photo Judgers — Requirements
|
|
# Install in conda env: pip install -r requirements.txt
|
|
#
|
|
# LAION V2 scorer uses OpenAI CLIP via transformers (stable API, no remote
|
|
# code) plus a small linear head loaded from the official .pth. This avoids
|
|
# the stale `simple-aesthetics-predictor` wrapper and transformers remote
|
|
# code, both of which break on modern transformers.
|
|
|
|
transformers>=4.30
|
|
torch>=2.1
|
|
torchvision
|
|
Pillow
|
|
tqdm |