OpenCastKit icon indicating copy to clipboard operation
OpenCastKit copied to clipboard

what the shape of scaler

Open liuweishuo opened this issue 2 years ago • 2 comments

https://huggingface.co/hf-ai/OpenCastKit 中下载的scaler.pkl 中channel=21,但是get_data() 处理的数据是维度20,模型也要求是channel维度=20的,这个怎么修改?

liuweishuo avatar Apr 10 '23 07:04 liuweishuo

最后一维度是 total_precipitation , 训练降水模型会用到

VachelHU avatar Apr 11 '23 07:04 VachelHU

最后一维度是 total_precipitation , 训练降水模型会用到

您的意思是只用前20个, data = (data - scaler['mean']) / scaler['std'] ,infer2img 会报错,所以相应修改?

zhrli avatar Apr 27 '23 16:04 zhrli