Skip to content

Commit 18253e1

Browse files
add requirements for yinglong
1 parent f67cc71 commit 18253e1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/yinglong/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,21 @@ If `"PaddlePaddle is installed successfully! Let's start deep learning with Padd
3030

3131
### 2. Install PaddleScience
3232

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

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

3942
## Example Usage
4043

4144
### 1. Download the data and model weights
4245

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

5760
``` shell
58-
cd PaddleScience
59-
export PYTHONPATH=$PWD
60-
cd ./examples/yinglong
6161
# YingLong-12 Layers
6262
python predict_12layers.py mode=infer
6363
# YingLong-24 Layers

0 commit comments

Comments
 (0)