Giter Site home page Giter Site logo

Comments (5)

OuyangJunyuan avatar OuyangJunyuan commented on July 21, 2024

Does it work well without CUDA_MODULE_LOADING=LAZY?
I have no idea why it does not load anymore under LAZY mode.

from pointcloud-3d-detector-tensorrt.

YoushaaMurhij avatar YoushaaMurhij commented on July 21, 2024

No either way , it reaches this line

PointDetection::TRTDetector3D detector(cfg);
and freezes

from pointcloud-3d-detector-tensorrt.

OuyangJunyuan avatar OuyangJunyuan commented on July 21, 2024
====== model infos ======
-> points(1, 16384, 4)
<- boxes(1, 256, 8)
<- scores(1, 256)
<- nums(1, 1)
=========================

the above messages indicated that SummarizeEngine in construction function of TRTDetector3D is completed.
I guess the program freezing may happen among the succeeding codes.
can you tell me which function really causes this case?

SummarizeEngine(engine_);
buffers_ = std::make_unique<BufferManager>(engine_, max_batch_size_);
context_ = std::unique_ptr<nvinfer1::IExecutionContext>(engine_->createExecutionContext());
assert(context_);
context_->setBindingDimensions(0, nvinfer1::Dims3(max_batch_size_, max_point_num_, 4));
// TODO: multi stream optimization for inference.
cudaStreamCreate(&stream_);
context_->setOptimizationProfileAsync(0, stream_);

In addition, after fully loading the engine, this program will sleep and wait for a ROS message, which also looks like the program is frozen if always not message comes in.

from pointcloud-3d-detector-tensorrt.

YoushaaMurhij avatar YoushaaMurhij commented on July 21, 2024

I checked them. Everything works fine but, the callback function does not trigger.

auto sub = n.subscribe<sensor_msgs::PointCloud2>("/points", 1, [&](auto &&msg) {

I am running a rosbag that contains a topic /points.

from pointcloud-3d-detector-tensorrt.

reddittoob avatar reddittoob commented on July 21, 2024

I got same issue. Please tell me what I have to do.
@OuyangJunyuan

from pointcloud-3d-detector-tensorrt.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.