From 6c93bc3607e3af750e17fe38f31866757d2a121f Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Sun, 23 Nov 2025 18:57:53 +0000 Subject: [PATCH] Add sbs target, make scripts executable in CI, skip venv creation if exists --- .gitlab-ci.yml | 2 +- Makefile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bc100e5..ae1f72f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,4 +99,4 @@ ailab: - export DATA_DIR=$HOME/emblem # - make fetch-quick - make sbs - - make train-quick \ No newline at end of file + - make train \ No newline at end of file diff --git a/Makefile b/Makefile index 197eef2..69ecc29 100644 --- a/Makefile +++ b/Makefile @@ -96,6 +96,9 @@ fetch-quick: FORCE sbs: FORCE cd emblem5 && ./ai/make-sbs.py --data-dir $(DATA_DIR) +train: FORCE + cd emblem5 && ./ai/train2.py --data-dir $(DATA_DIR) --epochs 30 + train-quick: FORCE cd emblem5 && ./ai/train2.py --data-dir $(DATA_DIR) --quick --epochs 2