-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
48 lines (38 loc) · 1013 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.PHONY: install
install: build
pip install -e .
.PHONY: build
build: setup
coconut setup.coco --no-tco --strict
coconut "minecraft_deep_learning-source" minecraft_deep_learning --no-tco --strict --jobs sys
.PHONY: setup
setup:
pip install coconut-develop
.PHONY: play
play: install
python minecraft_deep_learning --mode play
.PHONY: train
train: install
python minecraft_deep_learning --mode train
.PHONY: test
test: install
python minecraft_deep_learning --mode test
.PHONY: clean
clean:
rm -rf ./dist ./build ./minecraft_deep_learning
find . -name '*.pyc' -delete
find . -name '__pycache__' -delete
find . -name '*.py' -delete
.PHONY: wipe
wipe: clean
rm -rf ./saved_weights ./saved_data ./saved_images
.PHONY: watch
watch:
coconut "minecraft_deep_learning-source" minecraft_deep_learning --watch --no-tco --strict
.PHONY: quiver
quiver: install
python minecraft_deep_learning --mode quiver
.PHONY: tensorboard
tensorboard:
open http://localhost:6006
tensorboard --logdir=./saved_data