Skip to content

Failure in point_pillars_test for DoInference #13123

Open
@PGLF-EAP

Description

System information

Linux Ubuntu 18.04
Apollo 6.0
GTX 1060 3 Gb

Steps to reproduce the issue:

bazel test --config=gpu --test_size_filters=large //modules/perception/lidar/lib/detection/lidar_point_pillars:point_pillars_test

I am attempting to run the newer TensorRT version of the pointpillars algorithm and am getting CUDA out of memory errors with the current pfe and rpn files (Nov 12: #12974) which I tracked down to the RPN with some printline commands.

WARNING: Current optimization profile is: 0. Please ensure there are no enqueued operations pending in this context prior to switching profiles
ERROR: ../rtSafe/safeRuntime.cpp (25) - Cuda Error in allocate: 2 (out of memory)
ERROR: FAILED_ALLOCATION: std::exception
I1203 15:47:08.481616 15483 point_pillars.cc:471] []RPN_CONTEXT FAILED
E1203 15:47:08.481621 15483 point_pillars.cc:472] []Failed to create TensorRT Execution Context.

WARNING: Current optimization profile is: 0. Please ensure there are no enqueued operations pending in this context prior to switching profiles
ERROR: ../rtSafe/safeRuntime.cpp (25) - Cuda Error in allocate: 2 (out of memory)
ERROR: FAILED_ALLOCATION: std::exception
I1203 15:47:08.481616 15483 point_pillars.cc:471] []RPN_CONTEXT FAILED
E1203 15:47:08.481621 15483 point_pillars.cc:472] []Failed to create TensorRT Execution Context.

When I substitute an older version of the rpn I get a completed test but it fails by a large margin (Sept 17: #12561)

modules/perception/lidar/lib/detection/lidar_point_pillars/point_pillars_test.cc:654: Failure
Expected: (num_objects) >= (10), actual: 0 vs 10
[ FAILED ] TestSuite.CheckDoInference (10329 ms)
[----------] 3 tests from TestSuite (33528 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (33528 ms total)
[ PASSED ] 2 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TestSuite.CheckDoInference

Is the current point_pillars_test.cc up-to-date and should result in a passed grade or is it depreciated? Also are the current pfe and rpn files the correct ones to pass this test?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions