Skip to content

Commit

Permalink
add requirements for yinglong (PaddlePaddle#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
HydrogenSulfate authored Feb 26, 2024
1 parent e13c8f1 commit 3baffd2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/yinglong/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,21 @@ If `"PaddlePaddle is installed successfully! Let's start deep learning with Padd

### 2. Install PaddleScience

Clone the code of PaddleScience from [here](https://github.com/PaddlePaddle/PaddleScience.git).
Clone the code of PaddleScience from [here](https://github.com/PaddlePaddle/PaddleScience.git) and install requirements.

``` shell
git clone -b develop https://github.com/PaddlePaddle/PaddleScience.git
cd PaddleScience
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
export PYTHONPATH=$PWD
```

## Example Usage

### 1. Download the data and model weights

``` shell
cd PaddleScience
cd examples/yinglong
wget https://paddle-org.bj.bcebos.com/paddlescience/datasets/yinglong/hrrr_example_24vars.tar
tar -xvf hrrr_example_24vars.tar
wget https://paddle-org.bj.bcebos.com/paddlescience/datasets/yinglong/hrrr_example_69vars.tar
Expand All @@ -55,9 +58,6 @@ tar -xvf inference.tar
The following code runs the Yinglong model, and the model output will be saved in 'output/result.npy'.

``` shell
cd PaddleScience
export PYTHONPATH=$PWD
cd ./examples/yinglong
# YingLong-12 Layers
python predict_12layers.py mode=infer
# YingLong-24 Layers
Expand Down

0 comments on commit 3baffd2

Please sign in to comment.