forked from rmbadl/BMW-TensorFlow-Training-GUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_gpu.yml
More file actions
30 lines (26 loc) · 673 Bytes
/
run_gpu.yml
File metadata and controls
30 lines (26 loc) · 673 Bytes
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
version: '2.3'
services:
docker_sdk:
image: tf2_docker_sdk_api:latest
runtime: nvidia
environment:
- NVIDIA_VISIBLE_DEVICES=all
network_mode: "host"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./datasets:/datasets
- ./checkpoints:/checkpoints
- ./docker_sdk_api:/docker_sdk_api
- ./training_api:/training_api
- ./tensorboards:/tensorboards
user_inteface:
image: tf2_gui:latest
ports:
- "4200:80"
inference_api:
image: tf2_inference_api_cpu:latest
ports:
- "4343:4343"
volumes:
- ./inference_api/models:/models
- ./inference_api/models_hash:/models_hash