From 01e3543be96e614bebf40fcf83fc739adb123540 Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Fri, 26 Dec 2025 10:48:10 +0000 Subject: [PATCH] Makefile: use uv --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index ae73727..7ea8b32 100644 --- a/Makefile +++ b/Makefile @@ -87,20 +87,20 @@ test: FORCE cd api; ./manage.py migrate && ./manage.py test tests fetch: FORCE - cd emblem5 && ./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/fetch-scans.py --data-dir $(DATA_DIR) + cd emblem5 && uv run --with-requirements ../requirements.txt ./ai/make-sbs.py --data-dir $(DATA_DIR) 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 - 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 - 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 - 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/src/LICENSE: