-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
executable file
·95 lines (57 loc) · 2.08 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.PHONY: build dev test tests up-dev bash prod up-dev up-prod
train:
python trainer.py --config configs/config.yaml
fit:
/home/lab09/.conda/envs/gpcr/bin/python trainer.py --config configs/cli_config.yaml fit
fit-faraday:
/home/lab09/.conda/envs/gpcr/bin/python trainer.py --config configs/cli_config-faraday.yaml fit
fit-faraday-gpcr:
/home/lab09/.conda/envs/gpcr/bin/python trainer.py --config configs/cli_config-faraday-gpcr_cc.yaml fit
fit-faraday-gpcr-local:
/home/lab09/.conda/envs/gpcr/bin/python trainer.py --config configs/cli_config-faraday-gpcr-local.yaml fit
# fit-faraday-gpcr-local-cc:
# /home/lab09/.conda/envs/gpcr/bin/python trainer.py --config configs/cli_config-faraday-gpcr_cc-local.yaml fit
fit-faraday-gpcr-local-cc:
/home/lab09/.conda/envs/gpcr/bin/python trainer.py --config configs/cli_config-faraday-gpcr_cc-local.yaml fit
fit_log:
python trainer.py --config configs/cli_config.yaml fit --trainer.logger.class_path=lightning.pytorch.loggers.WandbLogger
fit_log1:
python trainer.py --config configs/cli_config.yaml fit --trainer.logger.class_path=WandbLogger
fit-faraday-gpcr_ec:
/home/lab09/.conda/envs/gpcr/bin/python trainer.py --config configs/cli_config-faraday-gpcr_ec.yaml fit
fit-faraday-gpcr_ic:
/home/lab09/.conda/envs/gpcr/bin/python trainer.py --config configs/cli_config-faraday-gpcr_ic.yaml fit
fit-faraday-gpcr_cc:
/home/lab09/.conda/envs/gpcr/bin/python trainer.py --config configs/cli_config-faraday-gpcr_cc.yaml fit
test:
python trainer.py --config configs/cli_config.yaml test
clean:
rm -rf logs/* models/*
hello:
echo "hello world"
help:
@echo "make train"
@echo "make fit"
@echo "make fit_log"
@echo "make fit_log1"
@echo "make test"
@echo "make clean"
@echo "make hello"
@echo "make help"
build: dev prod test
dev:
docker compose build dev
prod:
docker compose build prod
test:
docker compose build test
tests:
docker compose run test
up-dev:
docker compose up dev
up-prod:
docker run -p 8097:8097 aigpro/aigpro:latest-prod
bash:
docker compose run --entrypoint=bash dev
up:
docker compose up -d