Add make fetch target using venv and add to ailab step
This commit is contained in:
parent
72c3420199
commit
b539aa8524
@ -90,4 +90,5 @@ ailab:
|
||||
- pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
- pip install -r requirements.txt
|
||||
script:
|
||||
- make fetch
|
||||
- date
|
||||
8
Makefile
8
Makefile
@ -1,4 +1,6 @@
|
||||
.PHONY: FORCE emblemscanner-release
|
||||
.PHONY: FORCE emblemscanner-release fetch
|
||||
|
||||
DATA_DIR ?= ../data
|
||||
|
||||
IMAGE_TAG := $(shell git rev-parse --short HEAD)
|
||||
IMAGE_REPO := registry.gitlab.com/euphon/themblem
|
||||
@ -84,6 +86,10 @@ deploy-api-prod:
|
||||
test: FORCE
|
||||
cd api; ./manage.py migrate && ./manage.py test tests
|
||||
|
||||
fetch: FORCE
|
||||
cd emblem5 && ../venv/bin/python ai/fetch-scans.py --data-dir $(DATA_DIR)
|
||||
cd emblem5 && ../venv/bin/python ai/make-sbs.py --data-dir $(DATA_DIR)
|
||||
|
||||
OPENCV_TAG := 4.9.0
|
||||
opencv/src/LICENSE:
|
||||
rm -rf opencv/src opencv/contrib
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user