forked from IQTLabs/BirdsEye
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (28 loc) · 778 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
25
26
27
28
29
30
SHELL:=/bin/bash
PIP=$(shell which pip3 || echo "pip3")
GPUS ?= "--gpus all"
build:
@docker build -t birds_eye .
run_mcts: build run_mcts_nobuild
run_mcts_nobuild:
@echo
@echo "Running evaulation script with MCTS model"
@docker run -it $(GPUS) birds_eye -c /BirdsEye/configs/mcts.yaml
@echo
run_dqn: build run_dqn_nobuild
run_dqn_nobuild:
@echo
@echo "Running evaluation script with DQN model"
@docker run -it $(GPUS) birds_eye -c /BirdsEye/configs/dqn.yaml
@echo
run_batch: build run_batch_nobuild
run_batch_nobuild:
@echo
@echo "Running batch evaluation script"
@docker run -it $(GPUS) birds_eye -b
@echo
run_sigscan: build run_sigscan_nobuild
run_sigscan_nobuild:
@echo
@echo "Running sigscan script"
@docker run -it --net=host $(GPUS) birds_eye sigscan.py