SFA3D icon indicating copy to clipboard operation
SFA3D copied to clipboard

Using the model trained on the kitti dataset, testing our own dataset

Open Sunganghao opened this issue 3 years ago • 11 comments

hi,guys,I used the kitti dataset from the project for training and the resulting model was used to detect the vehicles in my own dataset and why it was invalid.My own dataset has been converted to kitti format (.bin) and is displayed correctly in the test, but it does not show the red box in the point cloud plot. image

Sunganghao avatar Feb 14 '22 15:02 Sunganghao

Can you please share with me your LiDAR specs?

maudzung avatar May 02 '22 01:05 maudzung

Thanks for your reply, I tested it with two LiDARs. Virtual LIDAR is VLS-128(Matlab/simulink/lidar toolbox) and Real LiDAR is VLP-16.

Sunganghao avatar May 02 '22 15:05 Sunganghao

@Sunganghao hello, I also want to applythe model into my own dataset (like video in KITTI), can you show me the way how I can make point cloud file like in KITTI dataset (bin)?

leducnguyen21 avatar Jun 28 '22 19:06 leducnguyen21

Can you please share with me your LiDAR specs?

Hii Maudzung, Even I'm having the same problem after converting to .bin format, its not detecting, only showing pointcloud. Why its like that? Even I tried pandaset and loaded directly .pkl.gz instead of .bin file. the same problem is happening. Can you please tell why its happening?

ghost avatar May 07 '23 18:05 ghost

@jacobsmarvel Hi, have you solved this problem? or do you have any idea about it ?

applededipan avatar Jan 04 '24 01:01 applededipan

@Sunganghao @jacobsmarvel have you solved the problem ? I am having the same problem while testing with my won dataset

Manojit-IITK avatar Feb 06 '24 06:02 Manojit-IITK

try to normalize your intensity values then it will work

Manojit-IITK avatar Mar 11 '24 14:03 Manojit-IITK

@Manojit-IITK Can I ask how you do it?

Jason-bot avatar Mar 14 '24 07:03 Jason-bot

@Manojit-IITK Can I ask how you do it?

Take the intensity column from the lidar data and the normalize it i.e (value - min_value)/(max_value - min_value) then replaced this normalized column with the precious one and make the bev map

Manojit-IITK avatar Mar 14 '24 10:03 Manojit-IITK

@Manojit-IITK Can I ask how you do it?

Take the intensity column from the lidar data and the normalize it i.e (value - min_value)/(max_value - min_value) then replaced this normalized column with the precious one and make the bev map

Thank you very much for your answer. This question has troubled me for a long time.

I would like to ask if intensity is the value of PointCloud_top[:, 3] in kitti_bev_utils.py in the program?

 normalizedCounts = np.minimum(1.0, np.log(unique_counts + 1) / np.log(64))
 intensityMap[np.int_(PointCloud_top[:, 0]), np.int_(PointCloud_top[:, 1])] = PointCloud_top[:, 3]
 densityMap[np.int_(PointCloud_top[:, 0]), np.int_(PointCloud_top[:, 1])] = normalizedCounts

If I print it out, the value of each frame looks like this: PointCloud_top[:, 3] : [0.0213623 0.02868652 0.03173828 ... 0.03710938 0.04272461 0.0300293 ]

(value - min_value)/(max_value - min_value) What is the value?

Jason-bot avatar Mar 14 '24 11:03 Jason-bot

@Manojit-IITK Can I ask how you do it?

Take the intensity column from the lidar data and the normalize it i.e (value - min_value)/(max_value - min_value) then replaced this normalized column with the precious one and make the bev map

Thank you very much for your answer. This question has troubled me for a long time.

I would like to ask if intensity is the value of PointCloud_top[:, 3] in kitti_bev_utils.py in the program?

 normalizedCounts = np.minimum(1.0, np.log(unique_counts + 1) / np.log(64))
 intensityMap[np.int_(PointCloud_top[:, 0]), np.int_(PointCloud_top[:, 1])] = PointCloud_top[:, 3]
 densityMap[np.int_(PointCloud_top[:, 0]), np.int_(PointCloud_top[:, 1])] = normalizedCounts

If I print it out, the value of each frame looks like this: PointCloud_top[:, 3] : [0.0213623 0.02868652 0.03173828 ... 0.03710938 0.04272461 0.0300293 ]

(value - min_value)/(max_value - min_value) What is the value?

when you extract the lidar data into the liar variable at that time you normalized the 4tth column i.e lidar[:,3]. normalized the data before passing through it make_bev function.

(value - min_value)/(max_value - min_value) this is the formula for normalizing the data between 0 to 1.

Manojit-IITK avatar Mar 16 '24 06:03 Manojit-IITK