From 639f8634d568d44bda517e5bafb441530a6c624e Mon Sep 17 00:00:00 2001 From: Andras Palffy Date: Mon, 11 Sep 2023 10:16:41 +0200 Subject: [PATCH] Update PP-Radar.md to reflect on norm steps. --- PP-Radar.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PP-Radar.md b/PP-Radar.md index 4e9a45f..cfb57f9 100644 --- a/PP-Radar.md +++ b/PP-Radar.md @@ -447,6 +447,11 @@ points = np.fromfile(str(lidar_file), dtype=np.float32).reshape(-1, number_of_ch means = [0, 0, 0, 0, 0, 0, 0] # 'x', 'y', 'z', 'rcs', 'v_r', 'v_r_comp', 'time' stds = [1, 1, 1, 1, 1, 1, 1] # 'x', 'y', 'z', 'rcs', 'v_r', 'v_r_comp', 'time' +#in practice, you should use either train, or train+val values to calculate mean and stds. Note that x, y, z, and time are not normed, but you can experiment with that. +#means = [0, 0, 0, mean_RCS (~ -13.0), mean_v_r (~-3.0), mean_vr_comp (~ -0.1), 0] # 'x', 'y', 'z', 'rcs', 'v_r', 'v_r_comp', 'time' +#stds = [1, 1, 1, std_RCS (~14.0), std_v_r (~8.0), std_v_r_comp (~6.0), 0] # 'x', 'y', 'z', 'rcs', 'v_r', 'v_r_comp', 'time' + + #we then norm the channels points = (points - means)/stds