-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
122 lines (114 loc) · 3.16 KB
/
docker-compose.yml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
version: "2.3"
services:
master:
container_name: master-aisl-pytorch
image: aisl-pytorch-ros:21.03-py3
command: roscore
environment:
- ROS_MASTER_URI=http://localhost:11311
tty: true
catkin-build:
container_name: catkin-build
build: .
runtime: nvidia
image: aisl-pytorch-ros:21.03-py3
command: catkin build -DCMAKE_BUILD_TYPE=Debug
working_dir: /root/catkin_ws
volumes:
- ./catkin_ws/:/root/catkin_ws/
tty: true
ros-object-recognition:
container_name: ros-object-recognition
depends_on:
- master
build: .
runtime: nvidia
image: aisl-pytorch-ros:21.03-py3
command: roslaunch pytorch_ros object_recognition.launch usb_cam:=false
working_dir: /root/catkin_ws
environment:
- ROS_MASTER_URI=http://master-aisl-pytorch:11311
- PYTHONPATH=$PYTHONPATH:/root/training/
volumes:
- ./training:/root/training/
- ./catkin_ws:/root/catkin_ws/
tty: true
shm_size: 512M
privileged: true
ros-usb-cam:
container_name: ros-usb-cam
depends_on:
- master
build: .
runtime: nvidia
image: aisl-pytorch-ros:21.03-py3
command: rosrun usb_cam usb_cam_node
working_dir: /root/catkin_ws
environment:
- ROS_MASTER_URI=http://master-aisl-pytorch:11311
volumes:
- ./catkin_ws:/root/catkin_ws/
tty: true
privileged: true
ros-object-detection:
container_name: ros-object-detection
depends_on:
- master
build: .
runtime: nvidia
image: aisl-pytorch-ros:21.03-py3
command: roslaunch pytorch_ros object_detection.launch
working_dir: /root/catkin_ws
environment:
- ROS_MASTER_URI=http://master-aisl-pytorch:11311
- PYTHONPATH=$PYTHONPATH:/root/training/
volumes:
- ./training:/root/training/
- ./catkin_ws:/root/catkin_ws/
tty: true
shm_size: 512M
ros-semantic-segmentation:
container_name: ros-semantic-segmentation
depends_on:
- master
build: .
runtime: nvidia
image: aisl-pytorch-ros:21.03-py3
command: roslaunch pytorch_ros semantic_segmentation.launch
working_dir: /root/catkin_ws
environment:
- ROS_MASTER_URI=http://master-aisl-pytorch:11311
- PYTHONPATH=$PYTHONPATH:/root/training/
volumes:
- ./training:/root/training/
- ./catkin_ws:/root/catkin_ws/
tty: true
shm_size: 512M
ros-depth-estimation:
container_name: ros-depth-estimation
depends_on:
- master
build: .
runtime: nvidia
image: aisl-pytorch-ros:21.03-py3
command: roslaunch pytorch_ros depth_estimation.launch
working_dir: /root/catkin_ws
environment:
- ROS_MASTER_URI=http://master-aisl-pytorch:11311
- PYTHONPATH=$PYTHONPATH:/root/training/
volumes:
- ./training:/root/training/
- ./catkin_ws:/root/catkin_ws/
tty: true
shm_size: 512M
tensorboard:
container_name: tensorboard-aisl-pytorch
image: aisl-pytorch-train:21.03-py3
entrypoint: tensorboard --logdir /tmp/runs
build: .
ports:
- 60009:6006
mem_limit: 15g
volumes:
- ./espdnet/:/root/espdnet/
- /data/aisl/matsuzaki/runs/ycb_classification:/tmp/runs/