-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (30 loc) · 971 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
.PHONY: data-wget data-cli data-2000 tensorboard jupyter-notebook jupyter-lab run apply score
ifneq ($(shell which rc-cli), )
data: data-cli
# else ifneq ($(shell where rc-cli), )
# data: data-cli
else
data: data-wget
endif
data-wget:
wget https://cave-competition-app-data.s3.amazonaws.com/amzn_2021/data.tar.xz
tar -vxf data.tar.xz
data-cli:
rc-cli reset-data
data-2000:
wget -O data/model_build_inputs/route_data.json https://raw.githubusercontent.com/JGIoA/temp/main/route_data_high_2000.json
tb: tensorboard
tensorboard:
tensorboard --logdir=experiments --port=8888 --bind_all
jt: jupyter-notebook
jupyter-notebook:
jupyter notebook --ip=0.0.0.0 --port=7777 --NotebookApp.token='xyj1!' --no-browser &
jl: jupyter-lab
jupyter-lab:
jupyter lab --ip=0.0.0.0 --port=7777 --NotebookApp.token='xyj1!' --no-browser &
run:
python src/train.py --model_dir experiments/base_model
apply:
python src/model_apply_experiments.py
score:
python src/score.py