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

De-standarization of output data #25

Open
luiservela opened this issue Oct 30, 2024 · 0 comments
Open

De-standarization of output data #25

luiservela opened this issue Oct 30, 2024 · 0 comments

Comments

@luiservela
Copy link

Dear all,
I have been looking at the inference.py script and I see how lines 190 and 191 (

valid_data = (valid_data - means)/stds
valid_data = torch.as_tensor(valid_data).to(device, dtype=torch.float)
) in the autoregresive_interpolation function help out standardize the input data.

However, I see nowhere the inverse process taking place for output data (seq_real and seq_pred).

Could this be achieved by simply running:
seq_real = seq_real * stds + means
seq_pred = seq_pred * stds + means

or am I missing something critical here?

Best,

LuisV

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

1 participant