Skip to content

Commit

Permalink
Merge pull request #90 from tudelft-iv/main
Browse files Browse the repository at this point in the history
Update PP-Radar.md to reflect on norm steps.
  • Loading branch information
andraspalffy authored Mar 23, 2024
2 parents de6a2a9 + 639f863 commit 7c6e322
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions PP-Radar.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c6e322

Please sign in to comment.