Skip to content

Fix: Align RMSE and log RMSE calculations with standard definitions#19

Open
Nickory wants to merge 1 commit into
Insta360-Research-Team:mainfrom
Nickory:main
Open

Fix: Align RMSE and log RMSE calculations with standard definitions#19
Nickory wants to merge 1 commit into
Insta360-Research-Team:mainfrom
Nickory:main

Conversation

@Nickory
Copy link
Copy Markdown

@Nickory Nickory commented Mar 17, 2026

Hi authors,

Thank you for releasing this excellent work and the highly readable codebase!
While studying the evaluation metrics, I noticed a minor mathematical detail regarding the rmse and rmse_log calculations. Currently, taking the square root before the mean effectively computes the Mean Absolute Error (MAE).
This PR makes a slight adjustment by moving .mean() inside torch.sqrt(), which aligns the code strictly with the standard mathematical formulation of Root Mean Square Error (RMSE).

Hope this small refinement is helpful to your amazing project. Thanks again for your great contributions to the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant