Makefile: use uv

This commit is contained in:
Fam Zheng 2025-12-26 10:48:10 +00:00
parent 8aafe16bf6
commit 01e3543be9

View File

@ -87,20 +87,20 @@ test: FORCE
cd api; ./manage.py migrate && ./manage.py test tests cd api; ./manage.py migrate && ./manage.py test tests
fetch: FORCE fetch: FORCE
cd emblem5 && ./ai/fetch-scans.py --data-dir $(DATA_DIR) cd emblem5 && uv run --with-requirements ../requirements.txt ./ai/fetch-scans.py --data-dir $(DATA_DIR)
cd emblem5 && ./ai/make-sbs.py --data-dir $(DATA_DIR) cd emblem5 && uv run --with-requirements ../requirements.txt ./ai/make-sbs.py --data-dir $(DATA_DIR)
fetch-quick: FORCE fetch-quick: FORCE
cd emblem5 && ./ai/fetch-scans.py --data-dir $(DATA_DIR) --sample-rate 0.01 cd emblem5 && uv run --with-requirements ../requirements.txt ./ai/fetch-scans.py --data-dir $(DATA_DIR) --sample-rate 0.01
sbs: FORCE sbs: FORCE
cd emblem5 && ./ai/make-sbs.py --data-dir $(DATA_DIR) cd emblem5 && uv run --with-requirements ../requirements.txt ./ai/make-sbs.py --data-dir $(DATA_DIR)
train: FORCE train: FORCE
cd emblem5 && ./ai/train2.py --data-dir $(DATA_DIR) --epochs 30 cd emblem5 && uv run --with-requirements ../requirements.txt ./ai/train2.py --data-dir $(DATA_DIR) --epochs 30
train-quick: FORCE train-quick: FORCE
cd emblem5 && ./ai/train2.py --data-dir $(DATA_DIR) --quick --epochs 2 cd emblem5 && uv run --with-requirements ../requirements.txt ./ai/train2.py --data-dir $(DATA_DIR) --quick --epochs 2
OPENCV_TAG := 4.9.0 OPENCV_TAG := 4.9.0
opencv/src/LICENSE: opencv/src/LICENSE: