File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
jointContribution/gencast Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
``` sh
11
11
# 设置路径到 PaddleScience/jointContribution 文件夹
12
12
cd PaddleScience/jointContribution
13
- export PYTHONPATH=$PWD:$PYTHONPAT
13
+ export PYTHONPATH=$PWD:$PYTHONPATH
14
14
# 运行训练脚本
15
15
python run_gencast.py mode=train
16
16
```
20
20
``` sh
21
21
# 设置路径到 PaddleScience/jointContribution 文件夹
22
22
cd PaddleScience/jointContribution
23
- export PYTHONPATH=$PWD:$PYTHONPAT
23
+ export PYTHONPATH=$PWD:$PYTHONPATH
24
24
# 下载模型参数
25
25
cd gencast/
26
26
wget -nc https://paddle-org.bj.bcebos.com/paddlescience/models/gencast/gencast_params_GenCast-1p0deg-Mini-_2019.pdparams -P ./data/params/
Original file line number Diff line number Diff line change 28
28
29
29
class CustomDataLoader (paddle .io .Dataset ):
30
30
def __init__ (self , target_lead_times , cfg ):
31
- super (CustomDataLoader , self ).__init__ ()
31
+ super ().__init__ ()
32
32
33
33
self .target_lead_times = target_lead_times
34
34
self .cfg = cfg
You can’t perform that action at this time.
0 commit comments