m-hasan-n / pooling

"Pooling Toolbox" is the code of our work "Maneuver-Aware Pooling for Vehicle Trajectory Prediction".
MIT License
50 stars 8 forks source link

About the RMSE unit #1

Closed guoyage closed 3 years ago

guoyage commented 3 years ago

First, Thanks yours wonderful research, i have some question about your code, in the test stage, you define the RMSE as pred_rmse = torch.pow(lossVals / counts, 0.5) * 0.3048, but in my opinion, this equation is transformer the unit of feet to the unit of meter, However, in your research, you have change the unit of lossVals to polar coordinate, so I wonder if it is reasonable to directly use the above equation?Thanks

m-hasan-n commented 3 years ago

Thanks for your comment and interest in our work. Yes, the formula you refer to, is used to convert from feet to meter. In case of polar coordinates, there are two variables radius (in feet) and angle (in radians). Since a radian represents the ratio of arc length to radius length, it can be considered as a "dimensionless" quantity. Thus, the same formula holds for the polar coordinates case.

guoyage commented 3 years ago

Thanks for your comment and interest in our work. Yes, the formula you refer to, is used to convert from feet to meter. In case of polar coordinates, there are two variables radius (in feet) and angle (in radians). Since a radian represents the ratio of arc length to radius length, it can be considered as a "dimensionless" quantity. Thus, the same formula holds for the polar coordinates case.

Thank you for your reply.