You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The model's inputs and outputs are both normalized, and it is incorrect to de-normalize and store them during iterative inference. This would lead to errors in the next iteration. The correct approach is to de-normalize and return the outputs only after iterating through all time steps, i.e., de-normalize the output values after the loop is completed.
The text was updated successfully, but these errors were encountered:
Sorry for misleading you and other readers. The code was actually correct but not well organized. We integrated the normalization function into the model (e.g. PanguModel24()) as its first operation, but the output of the model was not de-normalized. This makes it necessary to manually add the de-normalization step outside the model function.
A side comment. The provided ONNX file has integrated both normalization and de-normalization, so the inference_xpu code does not contain such steps. There is a kind of inconsistency, but the code and models are correct -- just for everyone's information.
The model's inputs and outputs are both normalized, and it is incorrect to de-normalize and store them during iterative inference. This would lead to errors in the next iteration. The correct approach is to de-normalize and return the outputs only after iterating through all time steps, i.e., de-normalize the output values after the loop is completed.
The text was updated successfully, but these errors were encountered: