Skip to content

Conversation

zhangpu00000
Copy link

PR types

Others

PR changes

Others

Describe

add Climateformer model for climate prediction
add docs for Climateformer
add examples for Climateformer
add era5climate_dataset for Climateformer

使用pre-commit对代码格式化。
add Climateformer model for climate prediction
add docs for Climateformer
add examples for Climateformer
add era5climate_dataset for Climateformer
Copy link

paddle-bot bot commented Sep 1, 2025

Thanks for your contribution!

Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢提交PR,有几处修改建议,在代码提交前请使用pre-commit格式化代码

Image

USE_SAMPLED_DATA: false

# set train data path
TRAIN_FILE_PATH: /data/jinqizhao/ERA5/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

删除/jinqizhao

DATA_STD_PATH: ./datasets/era5/stat/std.nc

# set evaluate data path
VALID_FILE_PATH: /data/jinqizhao/ERA5/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

删除/jinqizhao

Comment on lines 80 to 82
"sampler": {
"name": "BatchSampler",
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可删除

Suggested change
"sampler": {
"name": "BatchSampler",
},

Comment on lines 139 to 141
"sampler": {
"name": "BatchSampler",
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可删除

Suggested change
"sampler": {
"name": "BatchSampler",
},

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

跟develop合并一下,不要删除无关代码

# MultiDecoder
class Decoder(nn.Layer):
def __init__(self, C_hid: int, C_out: int, N_S: int):
super(Decoder, self).__init__()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
super(Decoder, self).__init__()
super().__init__()

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上,请合并一下最新分支

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请在mkdocs.yml里添加当前案例文档

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请在arch.md中加入Climateformer

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请在dataset.md中加入ERA5ClimateDataset

@@ -0,0 +1,265 @@
# Climateformer

开始训练、评估前,请下载ERA5数据集文件
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请添加ERA5数据集下载链接

=== "模型评估命令"

``` sh
python main.py mode=eval EVAL.pretrained_model_path=./outputs_climateformer/checkpoints/best_model.pdparams
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

模型已经上传,将./outputs_climateformer/checkpoints/best_model.pdparams修改为https://paddle-org.bj.bcebos.com/paddlescience/models/climateformer/climateformer.pdparams


开始训练、评估前,请下载ERA5数据集文件

开始评估前,请下载或训练生成预训练模型
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--8<--
```

### 2.4 Climateformer模型结构
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

模型结构最好提供一张图来进行说明

--8<--
examples/climateformer/conf/climateformer.yaml
--8<--
``` No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

添加可视化预测结果和参考资料

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants