diff --git a/MindEarth/applications/climate-prediction/ensoforecast/README.md b/MindEarth/applications/climate-prediction/ensoforecast/README.md index 0ef90218611342eadd268959fb482828020ad029..803e5329799b082186380bc8a43c3c129e39da81 100644 --- a/MindEarth/applications/climate-prediction/ensoforecast/README.md +++ b/MindEarth/applications/climate-prediction/ensoforecast/README.md @@ -33,7 +33,7 @@ where: ### Run Option 2: Run Jupyter Notebook -You can use [Chinese](https://gitee.com/mindspore/mindscience/raw/master/MindEarth/applications/medium-range/ensoforecast/ctefnet_CN.ipynb) or [English](https://gitee.com/mindspore/mindscience/raw/master/MindEarth/applications/medium-range/ensoforecast/ctefnet.ipynb) Jupyter Notebook to run the training and evaluation code line-by-line. +You can use [Chinese](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fourcastnet/FourCastNet_CN.ipynb) or [English](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fourcastnet/FourCastNet.ipynb) Jupyter Notebook to run the training and evaluation code line-by-line. ## Performance diff --git a/MindEarth/applications/climate-prediction/ensoforecast/README_CN.md b/MindEarth/applications/climate-prediction/ensoforecast/README_CN.md index 14e271707a75a4e9246cf19c7a0cf82edc4ee388..b132e2ecd75649c18629d7b79e2954ce1fe29cff 100644 --- a/MindEarth/applications/climate-prediction/ensoforecast/README_CN.md +++ b/MindEarth/applications/climate-prediction/ensoforecast/README_CN.md @@ -33,7 +33,7 @@ python -u ./main.py \ ### 运行方式二: 运行Jupyter Notebook -使用[中文](https://gitee.com/mindspore/mindscience/raw/master/MindEarth/applications/medium-range/ensoforecast/ctefnet_CN.ipynb) 或[英文](https://gitee.com/mindspore/mindscience/raw/master/MindEarth/applications/medium-range/ensoforecast/ctefnet.ipynb) Jupyter Notebook可以逐行运行训练和推理代码 +使用[中文](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fourcastnet/FourCastNet_CN.ipynb) 或[英文](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fourcastnet/FourCastNet.ipynb) Jupyter Notebook可以逐行运行训练和推理代码 ### 结果展示 diff --git a/MindEarth/applications/climate-prediction/ensoforecast/ctefnet.ipynb b/MindEarth/applications/climate-prediction/ensoforecast/ctefnet.ipynb index fc3d2c87c388eeac49ec6086945fc84940a200d7..95a5acc333810c075e9123c2b6029faf8f101456 100644 --- a/MindEarth/applications/climate-prediction/ensoforecast/ctefnet.ipynb +++ b/MindEarth/applications/climate-prediction/ensoforecast/ctefnet.ipynb @@ -101,7 +101,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "The following `src` can be downloaded in [ensoforcast/src](https://gitee.com/mindspore/mindscience/tree/master/MindEarth/applications/medium-range/ensoforecast/src)." + "The following `src` can be downloaded in [ensoforcast/src](https://gitee.com/mindspore/mindscience/tree/master/MindEarth/applications/climate-prediction/ensoforecast/src)." ] }, { @@ -131,7 +131,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "You can get parameters of model, data and optimizer from [config](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/ensoforecast/configs/pretrain.yaml) ." + "You can get parameters of model, data and optimizer from [config](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/climate-prediction/ensoforecast/configs/pretrain.yaml) ." ] }, { @@ -156,7 +156,7 @@ "\n", "Download the statistic, training and validation dataset from [dataset](https://download-mindspore.osinfra.cn/mindscience/mindearth/dataset/enso_dataset.zip) to `./dataset`.\n", "\n", - "Modify the parameter of `root_dir` in the [configs/pretrain.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/ensoforcast/configs/pretrain.yaml) and [configs/finetune.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/ensoforcast/configs/finetune.yaml), which set the directory for dataset.\n", + "Modify the parameter of `root_dir` in the [configs/pretrain.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/climate-prediction/ensoforecast/configs/pretrain.yaml) and [configs/finetune.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/climate-prediction/ensoforecast/configs/finetune.yaml), which set the directory for dataset.\n", "\n", "The `./dataset` is hosted with the following directory structure:\n", "\n", @@ -491,7 +491,6 @@ "epoch: 3 step: 32, loss is 0.48422465\n", "epoch: 3 step: 33, loss is 0.3726483\n", "epoch: 3 step: 34, loss is 0.39681238\n", - "epoch: 3 step: 35, loss is 0.41981226\n", "epoch: 3 step: 36, loss is 0.43758622\n", "epoch: 3 step: 37, loss is 0.41576648\n", "epoch: 3 step: 38, loss is 0.41521117\n", diff --git a/MindEarth/applications/climate-prediction/ensoforecast/ctefnet_CN.ipynb b/MindEarth/applications/climate-prediction/ensoforecast/ctefnet_CN.ipynb index 9df11663fa1e04945f612f3d2b59006c7b2c30c1..24ef94b0fdc8de965ae3b2cb19d60935a6b0f2af 100644 --- a/MindEarth/applications/climate-prediction/ensoforecast/ctefnet_CN.ipynb +++ b/MindEarth/applications/climate-prediction/ensoforecast/ctefnet_CN.ipynb @@ -100,7 +100,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "下述`src`可以在[ensoforcast/src](https://gitee.com/mindspore/mindscience/tree/master/MindEarth/applications/medium-range/ensoforecast/src)下载。" + "下述`src`可以在[ensoforcast/src](https://gitee.com/mindspore/mindscience/tree/master/MindEarth/applications/climate-prediction/ensoforecast/src)下载。" ] }, { @@ -130,7 +130,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "模型涉及的参数、优化器、数据配置见[config](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/ensoforecast/configs/pretrain.yaml)。" + "模型涉及的参数、优化器、数据配置见[config](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/climate-prediction/ensoforecast/configs/pretrain.yaml)。" ] }, { @@ -155,7 +155,7 @@ "\n", "在[dataset](https://download-mindspore.osinfra.cn/mindscience/mindearth/dataset/enso_dataset.zip)路径下,下载训练数据集验证数据集到 `./dataset`目录。\n", "\n", - "修改[configs/pretrain.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/ensoforcast/configs/pretrain.yaml)和[configs/finetune.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/ensoforcast/configs/finetune.yaml)配置文件中的`root_dir`参数,该参数设置了数据集的路径。\n", + "修改[configs/pretrain.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/climate-prediction/ensoforecast/configs/pretrain.yaml)和[configs/finetune.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/climate-prediction/ensoforecast/configs/finetune.yaml)配置文件中的`root_dir`参数,该参数设置了数据集的路径。\n", "\n", "`./dataset`中的目录结构如下所示:\n", "\n", diff --git a/MindEarth/applications/medium-range/fourcastnet/FourCastNet.ipynb b/MindEarth/applications/medium-range/fourcastnet/FourCastNet.ipynb index 115fb6891ce12ef84c60830388b14379677988a5..7c4ae82e90c451a9e7d47c2b76b46277d70b0b46 100644 --- a/MindEarth/applications/medium-range/fourcastnet/FourCastNet.ipynb +++ b/MindEarth/applications/medium-range/fourcastnet/FourCastNet.ipynb @@ -138,7 +138,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "You can get parameters of model, data and optimizer from [FourCastNet.yaml](https://gitee.com/mindspore/mindscience/tree/master/MindEarth/applications/medium-range/fourcastnet/FourCastNet.yaml)." + "You can get parameters of model, data and optimizer from [FourCastNet.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fourcastnet/configs/FourCastNet.yaml)." ] }, { @@ -183,7 +183,7 @@ "\n", "Download the statistic, training and validation dataset from [dataset](https://download.mindspore.cn/mindscience/mindearth/dataset/WeatherBench_1.4_69/) to `./dataset`.\n", "\n", - "Modify the parameter of `root_dir` in the [FourCastNet.yaml](https://gitee.com/mindspore/mindscience/tree/master/MindEarth/applications/medium-range/fourcastnet/FourCastNet.yaml), which set the directory for dataset.\n", + "Modify the parameter of `root_dir` in the [FourCastNet.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fourcastnet/configs/FourCastNet.yaml), which set the directory for dataset.\n", "\n", "The `./dataset` is hosted with the following directory structure:\n", "\n", diff --git a/MindEarth/applications/medium-range/fourcastnet/FourCastNet_CN.ipynb b/MindEarth/applications/medium-range/fourcastnet/FourCastNet_CN.ipynb index b527d82918d8ac24bfac58ce3d89436a52823b44..f74d1cd720f8840bdb7c19e83cb8d5ce52568529 100644 --- a/MindEarth/applications/medium-range/fourcastnet/FourCastNet_CN.ipynb +++ b/MindEarth/applications/medium-range/fourcastnet/FourCastNet_CN.ipynb @@ -168,7 +168,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "model、data和optimizer的参数可以通过加载yaml文件获取([FourCastNet.yaml](https://gitee.com/mindspore/mindscience/tree/master/MindEarth/applications/medium-range/fourcastnet/FourCastNet.yaml))。" + "model、data和optimizer的参数可以通过加载yaml文件获取([FourCastNet.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fourcastnet/configs/FourCastNet.yaml))。" ] }, { @@ -213,7 +213,7 @@ "\n", "在[dataset](https://download.mindspore.cn/mindscience/mindearth/dataset/WeatherBench_1.4_69/)路径下,下载正则化参数、训练数据集验证数据集到 `./dataset`目录。\n", "\n", - "修改[FourCastNet.yaml](https://gitee.com/mindspore/mindscience/tree/master/MindEarth/applications/medium-range/fourcastnet/FourCastNet.yaml)配置文件中的`root_dir`参数,该参数设置了数据集的路径。\n", + "修改[FourCastNet.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fourcastnet/configs/FourCastNet.yaml)配置文件中的`root_dir`参数,该参数设置了数据集的路径。\n", "\n", "`./dataset`中的目录结构如下所示:\n", "\n", diff --git a/MindEarth/applications/medium-range/fuxi/README.md b/MindEarth/applications/medium-range/fuxi/README.md index ccb0b6238c5ba0a8de9115fa41656032b07a4857..a0668496f7f24a84bf2d06593560966f0f8f690d 100644 --- a/MindEarth/applications/medium-range/fuxi/README.md +++ b/MindEarth/applications/medium-range/fuxi/README.md @@ -32,7 +32,7 @@ where: *Option 2: Run Jupyter Notebook* -You can use [Chinese](https://gitee.com/mindspore/mindscience/blob/f93ea7a7f90d67c983256844a2bcab094a3c7084/MindEarth/applications/medium-range/fuxi/fuxi_CN.ipynb) or [English](https://gitee.com/mindspore/mindscience/raw/f93ea7a7f90d67c983256844a2bcab094a3c7084/MindEarth/applications/medium-range/fuxi/fuxi.ipynb) Jupyter Notebook to run the training and evaluation code line-by-line. +You can use [Chinese](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fuxi/fuxi_CN.ipynb) or [English](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fuxi/fuxi.ipynb) Jupyter Notebook to run the training and evaluation code line-by-line. #### Multi-Card Parallel diff --git a/MindEarth/applications/medium-range/fuxi/README_CN.md b/MindEarth/applications/medium-range/fuxi/README_CN.md index a950d4fac3fb121dbc6ad898249fe6c7f665fe82..1f8719de9c426fc4529ed413641ee1ac215788bb 100644 --- a/MindEarth/applications/medium-range/fuxi/README_CN.md +++ b/MindEarth/applications/medium-range/fuxi/README_CN.md @@ -30,7 +30,7 @@ bash ./scripts/run_standalone_train.sh $device_id $device_target $config_file_pa *方式二: 运行Jupyter Notebook* -使用[中文](https://gitee.com/mindspore/mindscience/blob/f93ea7a7f90d67c983256844a2bcab094a3c7084/MindEarth/applications/medium-range/fuxi/fuxi_CN.ipynb)或[英文](https://gitee.com/mindspore/mindscience/raw/f93ea7a7f90d67c983256844a2bcab094a3c7084/MindEarth/applications/medium-range/fuxi/fuxi.ipynb) Jupyter Notebook可以逐行运行训练和推理代码 +使用[中文](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fuxi/fuxi_CN.ipynb)或[英文](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/fuxi/fuxi.ipynb) Jupyter Notebook可以逐行运行训练和推理代码 #### 多卡并行 diff --git a/MindEarth/applications/medium-range/graphcast/graphcast.ipynb b/MindEarth/applications/medium-range/graphcast/graphcast.ipynb index de412d4b6018d7beaae62de63a9ed6baad7e1a0a..4a3d9ab916e34f3d10878390aef4f3696736a291 100644 --- a/MindEarth/applications/medium-range/graphcast/graphcast.ipynb +++ b/MindEarth/applications/medium-range/graphcast/graphcast.ipynb @@ -162,7 +162,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "You can get parameters of model, data and optimizer from [config](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/graphcast/GraphCast.yaml)." + "You can get parameters of model, data and optimizer from [config](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/graphcast/configs/GraphCast_0.25.yaml)." ] }, { @@ -189,7 +189,7 @@ "\n", "Download the statistic, training and validation dataset from [dataset](https://download.mindspore.cn/mindscience/mindearth/dataset/WeatherBench_1.4_69/) to `./dataset`.\n", "\n", - "Modify the parameter of `root_dir` in the [vit_kno.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/koopman_vit/vit_kno.yaml), which set the directory for dataset.\n", + "Modify the parameter of `root_dir` in the [GraphCast_0.25.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/graphcast/configs/GraphCast_0.25.yaml), which set the directory for dataset.\n", "\n", "The `./dataset` is hosted with the following directory structure:\n", "\n", diff --git a/MindEarth/applications/medium-range/graphcast/graphcast_CN.ipynb b/MindEarth/applications/medium-range/graphcast/graphcast_CN.ipynb index 47ea60e22d882ad5a22e7a886a348672c4113915..c8bffa1be27f4f79bc796f31b04fbc94b1769120 100644 --- a/MindEarth/applications/medium-range/graphcast/graphcast_CN.ipynb +++ b/MindEarth/applications/medium-range/graphcast/graphcast_CN.ipynb @@ -186,7 +186,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "模型涉及的参数、优化器、数据配置见[config](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/graphcast/GraphCast.yaml)。" + "模型涉及的参数、优化器、数据配置见[config](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/graphcast/configs/GraphCast_0.25.yaml)。" ] }, { @@ -229,7 +229,7 @@ "\n", "在[dataset](https://download.mindspore.cn/mindscience/mindearth/dataset/WeatherBench_1.4_69/)路径下,下载正则化参数、训练数据集验证数据集到 `./dataset`目录。\n", "\n", - "修改[GraphCast.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/graphcast/GraphCast.yaml)配置文件中的`root_dir`参数,该参数设置了数据集的路径。\n", + "修改[GraphCast.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/graphcast/configs/GraphCast_0.25.yaml)配置文件中的`root_dir`参数,该参数设置了数据集的路径。\n", "\n", "`./dataset`中的目录结构如下所示:\n", "\n", diff --git a/MindEarth/applications/medium-range/graphcast/graphcast_tp.ipynb b/MindEarth/applications/medium-range/graphcast/graphcast_tp.ipynb index f047ef947bcd3e3798a7ef06c815fc356c77d46a..34a309bdd88afd377465aa5903177291a0e1133b 100644 --- a/MindEarth/applications/medium-range/graphcast/graphcast_tp.ipynb +++ b/MindEarth/applications/medium-range/graphcast/graphcast_tp.ipynb @@ -84,7 +84,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "You can get parameters of model, data and optimizer from [config](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/graphcast/GraphCast.yaml). Set `tp: True` in `GraphCastTp.yaml`." + "You can get parameters of model, data and optimizer from [config](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/graphcast/configs/GraphCastTp.yaml). Set `tp: True` in `GraphCastTp.yaml`." ] }, { diff --git a/MindEarth/applications/medium-range/koopman_vit/vit_kno.ipynb b/MindEarth/applications/medium-range/koopman_vit/vit_kno.ipynb index 82ef9c902ad07b1564f2f94ba724ea4b4d6ba2c9..1ff1b503ee0a1d531ada427eb4e4ae4c0d8ab141 100644 --- a/MindEarth/applications/medium-range/koopman_vit/vit_kno.ipynb +++ b/MindEarth/applications/medium-range/koopman_vit/vit_kno.ipynb @@ -84,7 +84,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "You can get parameters of model, data and optimizer from [vit_kno.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/koopman_vit/vit_kno.yaml)." + "You can get parameters of model, data and optimizer from [vit_kno.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/koopman_vit/configs/vit_kno_1.4.yaml)." ] }, { @@ -121,7 +121,7 @@ "\n", "Download the statistic, training and validation dataset from [dataset](https://download.mindspore.cn/mindscience/mindearth/dataset/WeatherBench_1.4_69/) to `./dataset`.\n", "\n", - "Modify the parameter of `root_dir` in the [vit_kno.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/koopman_vit/vit_kno.yaml), which set the directory for dataset.\n", + "Modify the parameter of `root_dir` in the [vit_kno.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/koopman_vit/configs/vit_kno_1.4.yaml), which set the directory for dataset.\n", "\n", "The `./dataset` is hosted with the following directory structure:\n", "\n", diff --git a/MindEarth/applications/medium-range/koopman_vit/vit_kno_cn.ipynb b/MindEarth/applications/medium-range/koopman_vit/vit_kno_cn.ipynb index 6d1cb49cba1f8021c68c3d920e250f32f2da180f..314e60edbdda91a2fbddcb75192262b522fc0340 100644 --- a/MindEarth/applications/medium-range/koopman_vit/vit_kno_cn.ipynb +++ b/MindEarth/applications/medium-range/koopman_vit/vit_kno_cn.ipynb @@ -115,7 +115,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "model、data和optimizer的参数可以通过加载yaml文件获取([vit_kno.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/koopman_vit/vit_kno.yaml))。" + "model、data和optimizer的参数可以通过加载yaml文件获取([vit_kno.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/koopman_vit/configs/vit_kno_1.4.yaml))。" ] }, { @@ -152,7 +152,7 @@ "\n", "在[dataset](https://download.mindspore.cn/mindscience/mindearth/dataset/WeatherBench_1.4_69/)路径下,下载正则化参数、训练数据集验证数据集到 `./dataset`目录。\n", "\n", - "修改[vit_kno.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/koopman_vit/vit_kno.yaml)配置文件中的`root_dir`参数,该参数设置了数据集的路径。\n", + "修改[vit_kno.yaml](https://gitee.com/mindspore/mindscience/blob/master/MindEarth/applications/medium-range/koopman_vit/configs/vit_kno_1.4.yaml)配置文件中的`root_dir`参数,该参数设置了数据集的路径。\n", "\n", "`./dataset`中的目录结构如下所示:\n", "\n", @@ -1076,7 +1076,7 @@ "ground_truth.shape (1, 69, 128, 256)\n" ] }, - { + { "name": "stdout", "output_type": "stream", "text": [ diff --git a/MindEarth/version.txt b/MindEarth/version.txt index 341cf11faf9a29504168de4e54beaad182c5adc5..9325c3ccda9850bb6e102aef07d314210f5c9f41 100644 --- a/MindEarth/version.txt +++ b/MindEarth/version.txt @@ -1 +1 @@ -0.2.0 \ No newline at end of file +0.3.0 \ No newline at end of file