-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
24 lines (17 loc) · 1008 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Recursive GNU Make wildcard implementation
# https://stackoverflow.com/questions/2483182/recursive-wildcards-in-gnu-make/18258352#18258352
rwildcard=$(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(subst *,%,$2),$d))
run: ## [Local development] Run human tracking on the full video
python src/main.py -i input_videos/miss_dior.mp4 -m yolo -s flash
run-small: ## [Local development] Run human tracking on the small video
python src/main.py -i input_videos/miss_dior_small.mp4 -m yolo -s flash
run-hd: ## [Local development] Run human tracking on the full HD video
python src/main.py -i input_videos/miss_dior_hd.mp4 -m yolo -s flash
format: ## [Local development] Auto-format python code using black
black src
run-demo: ## [Local development] Run demo app
streamlit run app.py
install: ## [Local development] Install packages
conda create --name aive python=3.9
conda install --force-reinstall -y -q --name aive -c conda-forge --file requirements.txt
conda activate aive