Skip to content

Commit

Permalink
Perception: simplify dag to release GPU memory (ApolloAuto#12677)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroldchen authored Sep 25, 2020
1 parent e260fd0 commit 1faf3e7
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 64 deletions.
38 changes: 13 additions & 25 deletions modules/perception/production/dag/dag_streaming_perception.dag
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module_config {
module_library : "/apollo/bazel-bin/modules/perception/onboard/component/libperception_component_lidar.so"

components {
components {
class_name : "DetectionComponent"
config {
name: "Velodyne128Detection"
Expand All @@ -13,17 +13,6 @@ module_config {
}
}

components {
class_name : "DetectionComponent"
config {
name: "Velodyne16Detection"
config_file_path: "/apollo/modules/perception/production/conf/perception/lidar/velodyne16_detection_conf.pb.txt"
readers {
channel: "/apollo/sensor/lidar16/compensator/PointCloud2"
}
}
}

components {
class_name : "RecognitionComponent"
config {
Expand Down Expand Up @@ -67,22 +56,21 @@ module_config {
}
}
}

}

module_config {
module_library : "/apollo/bazel-bin/modules/v2x/fusion/apps/libv2x_fusion_component.so"
module_library : "/apollo/bazel-bin/modules/v2x/fusion/apps/libv2x_fusion_component.so"

components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module_config {
module_library : "/apollo/bazel-bin/modules/perception/onboard/component/libperception_component_lidar.so"

components {
components {
class_name : "DetectionComponent"
config {
name: "Velodyne128Detection"
Expand All @@ -13,17 +13,6 @@ module_config {
}
}

components {
class_name : "DetectionComponent"
config {
name: "Velodyne16Detection"
config_file_path: "/apollo/modules/perception/production/conf/perception/lidar/velodyne16_detection_conf.pb.txt"
readers {
channel: "/apollo/sensor/lidar16/compensator/PointCloud2"
}
}
}

components {
class_name : "RecognitionComponent"
config {
Expand Down Expand Up @@ -67,23 +56,21 @@ module_config {
}
}
}


}

module_config {
module_library : "/apollo/bazel-bin/modules/v2x/fusion/apps/libv2x_fusion_component.so"
module_library : "/apollo/bazel-bin/modules/v2x/fusion/apps/libv2x_fusion_component.so"

components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module_config {
module_library : "/apollo/bazel-bin/modules/perception/onboard/component/libperception_component_lidar.so"

components {
components {
class_name : "DetectionComponent"
config {
name: "Velodyne128Detection"
Expand Down Expand Up @@ -39,18 +39,18 @@ module_config {
}

module_config {
module_library : "/apollo/bazel-bin/modules/v2x/fusion/apps/libv2x_fusion_component.so"
module_library : "/apollo/bazel-bin/modules/v2x/fusion/apps/libv2x_fusion_component.so"

components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
components {
class_name : "V2XFusionComponent"
config {
name : "v2x_fusion"
flag_file_path : "/apollo/modules/v2x/conf/v2x_fusion_tracker.conf"
readers: [
{
channel: "/perception/vehicle/obstacles"
}
]
}
}
}

0 comments on commit 1faf3e7

Please sign in to comment.