Skip to content
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

How are you calculating the 'data_stats' for vector_loss and angular_loss? #2

Closed
err-or opened this issue Mar 30, 2022 · 1 comment
Closed

Comments

@err-or
Copy link

err-or commented Mar 30, 2022

Hi

I noticed that in both your loss functions (vector and angular) you are sending an argument, 'data_stats' which is coming from a pickle under the metafiles. I think you are using the range of gaze values to normalize the gaze loss however, in the paper, the gaze loss equation does not have anything like that. Could you please explain why are you multiplying both the prediction and the target with the range and adding the minimum gaze value at the end? and how did you calculate the maximum and minimum gaze values for each dataset?

@neelabhsinha
Copy link
Owner

Hi, you are correct. In the paper, all equations are implemented by us in normalized form. Therefore, at the end, I am multiplying and adding to denormalize it to absolute angles.
Maximum and minimum gaze values can be calculated by getting the individual gaze angles across the training set and then finding its maximum and minumum.

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

No branches or pull requests

2 participants