Pangu-Weather icon indicating copy to clipboard operation
Pangu-Weather copied to clipboard

Question about input data

Open lizhuoq opened this issue 1 year ago • 1 comments

If I perform inference using the ONNX data provided in your repository, besides converting the data from NC format to the corresponding NPY format, do I also need to normalize the data to have a mean of 0 and a standard deviation of 1? I noticed in the pseudocode for the inference function that it requires input data to be in the form of mean 0 and standard deviation 1, but this is not mentioned in your readme file. I would appreciate your response. Thank you.

lizhuoq avatar Dec 10 '23 15:12 lizhuoq

No, only data format conversion is required. The ONNX file contains both normalization and de-normalization, which is different from the pseudocode (in the pseudocode, the Model() functions only contain normalization but not de-normalization).

198808xc avatar Dec 13 '23 07:12 198808xc