-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (70 loc) · 1.91 KB
/
Copy pathdocker-compose.yml
File metadata and controls
74 lines (70 loc) · 1.91 KB
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
services:
capstone:
image: celt313/automl_capstone:v0.0.3
ipc: host
container_name: automl_capstone
working_dir: /app
entrypoint: bash
command: -c "source activate capstone_env && ./fetch_dataset.sh && python src/main.py"
volumes:
- .:/app
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
generate_box:
image: celt313/automl_capstone:v0.0.3
profiles: ["optional"]
entrypoint: bash
command: -c "source activate capstone_env && python src/generate_boxed_images.py"
volumes:
- .:/app
auto_labeling:
image: celt313/automl_capstone:v0.0.3
ipc: host
profiles: ["optional"]
entrypoint: bash
command: -c "source activate capstone_env && ./fetch_dataset.sh && python src/label_main.py"
volumes:
- .:/app
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
train_compress:
image: celt313/automl_capstone:v0.0.3
ipc: host
profiles: ["optional"]
entrypoint: bash
command: -c "source activate capstone_env && python src/train_compress_main.py"
volumes:
- .:/app
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
test:
image: celt313/automl_capstone:v0.0.3
profiles: ["optional"]
entrypoint: bash
command: -c "source activate capstone_env && pytest tests/"
volumes:
- .:/app