File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: "2.3"
22services :
33 pytorch-train :
44 container_name : pytorch-train
5- image : aisl/pytorch:latest
5+ image : aisl/pytorch-enet :latest
66 runtime : nvidia
77 build : .
88 command : >
@@ -19,7 +19,7 @@ services:
1919
2020 tensorboard :
2121 container_name : tensorboard
22- image : aisl/pytorch:latest
22+ image : aisl/pytorch-enet :latest
2323 command : tensorboard --logdir /root/PyTorch-ENet/runs
2424 build : .
2525 ports :
@@ -41,7 +41,7 @@ services:
4141 - master
4242 build : .
4343 runtime : nvidia
44- image : aisl/pytorch:latest
44+ image : aisl/pytorch-enet :latest
4545 command : roslaunch pytorch_enet_ros pytorch_enet_ros.launch
4646 environment :
4747 - ROS_MASTER_URI=http://pytorch-ros-master:11311
@@ -55,12 +55,10 @@ services:
5555
5656 catkin-build :
5757 container_name : catkin-build
58- depends_on :
59- - master
6058 build : .
6159 runtime : nvidia
62- image : aisl/pytorch:latest
63- entrypoint : bash -c "cd /root/catkin_ws && catkin build"
60+ image : aisl/pytorch-enet :latest
61+ command : bash -c "cd /root/catkin_ws && catkin build"
6462 environment :
6563 - ROS_MASTER_URI=http://pytorch-ros-master:11311
6664 volumes :
Original file line number Diff line number Diff line change 44g_setup=/opt/ros/$ROS_DISTRO /setup.bash
55l_setup=/root/catkin_ws/devel/setup.bash
66
7- if [ ! -f $g_setup ]; then
7+ if [ -f $g_setup ]; then
88 source $g_setup
99else
1010 echo " $g_setup not found"
1111fi
1212
13- if [ ! -f $l_setup ]; then
13+ if [ -f $l_setup ]; then
1414 source $l_setup
1515else
1616 echo " $l_setup not found"
You can’t perform that action at this time.
0 commit comments