Skip to content

Commit b559659

Browse files
committed
Makefile
1 parent d1adaf2 commit b559659

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Makefile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.PHONY: help build up down shell test-trained test-pretrained clean
2+
3+
help:
4+
@echo "make build - Build Docker image"
5+
@echo "make up - Start services"
6+
@echo "make down - Stop services"
7+
@echo "make shell - Interactive shell"
8+
@echo "make test-trained - Run trained model test"
9+
@echo "make test-pretrained - Run pretrained model test"
10+
@echo "make clean - Remove volumes"
11+
12+
build:
13+
docker compose build
14+
15+
up:
16+
docker compose up -d
17+
18+
down:
19+
docker compose down
20+
21+
shell:
22+
docker compose run --rm client -i
23+
24+
test-trained:
25+
docker compose run --rm client -c "python test_trained_inference.py"
26+
27+
test-pretrained:
28+
docker compose run --rm client -c "python test_video_inference.py superanimal_quadruped"
29+
30+
clean:
31+
docker compose down -v

0 commit comments

Comments
 (0)