question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

prediction on the custom data

See original GitHub issue

I have successfully run the test.py on the KITTI dataset. I am a student new to the 3D detection research. I want to ask for help, with this wonderful toolkit OpenPCDet, how can I predict using a pre-trained model on my own data provided by the teacher. Can anybody give me some help or blog which I can refer to. I want to check the result on the data my radar collected. Thanks for the kind help!

here is the bag information on my own data:

path:        2018-01-06-15-14-01.bag
version:     2.0
duration:    14:51s (891s)
start:       Jan 06 2018 15:14:01.43 (1515222841.43)
end:         Jan 06 2018 15:28:52.53 (1515223732.53)
size:        8.5 GB
messages:    45378
compression: none [8842/8842 chunks]
types:       nav_msgs/Odometry       [cd5e73d190d741a2f92e81eda573aca7]
             sensor_msgs/Imu         [6a62c6daae103f4ff57a132d6f95cec2]
             sensor_msgs/NavSatFix   [2d3a8cd499b9b4a0249fb98fd05cfa48]
             sensor_msgs/PointCloud2 [1158d486dd51d683ce2f1be655c3c181]
topics:      /fix              892 msgs    : sensor_msgs/NavSatFix  
             /imu_raw        17823 msgs    : sensor_msgs/Imu        
             /odom_encoder   17822 msgs    : nav_msgs/Odometry      
             /points_raw      8841 msgs    : sensor_msgs/PointCloud2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

3reactions
alixiansen91commented, Nov 2, 2020

Hello, on the basis of using only 3D point cloud data, how to use the reference coordinate system under KITTI? There is another question, how do you know what your coordinate system is like?

1reaction
sshaoshuaicommented, Jul 14, 2020
  1. Load your custom data, and get the raw point cloud (N, 3) with x, y, z. (The provided pretrained-model used (N, 4) with x, y, z, intensity, if you doesn’t have the intensity, then you need to train a new model without intensity. )
  2. You need to feed the points (N, 3 or 4) to the model, just refer to the _getitem_ function of kitti_dataset.py to repace the kitti points with your own points.

Also remember that the coordinate of your points (N, 3) should in the unified normative coordinate of PCDet as shown in the README.md. And the radar points are much sparser than the KITTI LiDAR points, so I guess you may get a bad prediction results if you only use the radar points.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom prediction routines - AI Platform - Google Cloud
Custom prediction routines allow you to determine what code runs when you send an online prediction request to AI Platform Prediction.
Read more >
Custom predictions - Bloomreach Documentation
Instead of using a predefined template, you can choose a custom prediction which allows you to specify your own prediction parameters. To do...
Read more >
How to use custom data and implement custom models and ...
How to use custom data and implement custom models and metrics#. Building a new model in PyTorch Forecasting is relatively easy. Many things...
Read more >
How to Connect Model Input Data With Predictions for ...
How do I connect the predicted values with the input data? ... One prediction for each of the 1,000 input rows of data....
Read more >
How to use a model to do predictions with Keras - ActiveState
Keras models can be used to detect trends and make predictions, using the model. · In this example, a model is created and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found