-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output scale factor #4
Comments
@thohemp could you figure out the aim of these numbers? |
Those are just approximate std values of the GT motion. We used these values to normalize the motion output during training. So we need to normalize the values in the same way when testing. |
@Amigoshan So do we need to change these numbers according to our dataset? For example, I am trying to test the trained model with Euroc_V102_Medium, do I need to calculate these numbers for Euroc? |
@artykov1511 Yes, we do. It's like the mean std values people use to normalize the image data from the ImageNet. Once the network is trained, all input and output values need to be normalized using the same value, no matter what dataset the data is from. |
Normalizing data is helpful for training a network. It helps with numeric stability. These numbers are different if datasets are different. |
There is a scale factor used to scale the outputs back for gt comparison:
self.pose_std = np.array([0.13, 0.13, 0.13, 0.013, 0.013, 0.013], dtype=np.float32)
Can you tell what these numbers are and why are they used?
The text was updated successfully, but these errors were encountered: