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

Questions : preprocess #6

Open
CHIH-CHIA opened this issue Oct 1, 2019 · 1 comment
Open

Questions : preprocess #6

CHIH-CHIA opened this issue Oct 1, 2019 · 1 comment

Comments

@CHIH-CHIA
Copy link

Hi,
I have some doubts about the pre-processing part.
Why does it want to multiply by two and then reduce one ( *2 - 1 ) at "frame_preprocess"?
What is the relationship between this and normalization?

data[:, 3] = (
(data[:, 3] - min_position_x) / (max_position_x - min_position_x)
) * 2 - 1
data[:, 4] = (
(data[:, 4] - min_position_y) / (max_position_y - min_position_y)
) * 2 - 1

@huang-xx
Copy link
Owner

huang-xx commented Oct 13, 2019

@CHIH-CHIA
This step normalizes the date to the range of [-1,1]. You can also normalizes to the range of [0,1] if you want, there will be no significant difference in results.

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