File tree Expand file tree Collapse file tree 4 files changed +18
-12
lines changed
train_2d_unsteady_continuous Expand file tree Collapse file tree 4 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,8 @@ dataline=`cat $FILENAME`
84
84
IFS=$' \n '
85
85
lines=(${dataline} )
86
86
model_name=$( func_parser_value " ${lines[1]} " )
87
+ workdir=$( func_parser_value " ${lines[60]} " )
88
+ cd ${PDSC_DIR} /${workdir}
87
89
python=$( func_parser_value " ${lines[2]} " )
88
90
line_num=` grep -n " train_benchmark_params" $FILENAME | cut -d " :" -f 1`
89
91
batch_size=$( func_parser_value " ${lines[line_num]} " )
Original file line number Diff line number Diff line change 1
1
===========================train_params===========================
2
- model_name:cylinder2d_unsteady_train_newapi
2
+ model_name:cylinder2d_unsteady_Re100
3
3
python:python3.10
4
4
gpu_list:0
5
5
Global.use_gpu:null
6
- Global.auto_cast:fp32
7
- Global.epoch_num:benchmark_train=20
8
- Global.save_model_dir:./output/
9
- Train.loader.batch_size_per_card :null
6
+ null:null
7
+ --epochs
8
+ null:null
9
+ null :null
10
10
Global.pretrained_model:null
11
11
train_model_name:latest
12
12
train_infer_img_dir:null
13
13
--profiler_options:null
14
14
##
15
15
trainer:norm_train
16
- norm_train:/examples/cylinder/2d_unsteady/cylinder2d_unsteady_train_newapi .py
16
+ norm_train:/examples/cylinder/2d_unsteady/cylinder2d_unsteady_Re100 .py
17
17
pact_train:null
18
18
fpgm_train:null
19
19
distill_train:null
@@ -43,18 +43,19 @@ inference:tools/infer/predict_det.py
43
43
--cpu_threads:null
44
44
--rec_batch_num:1
45
45
--use_tensorrt:null
46
- --precision:fp32
46
+ --precision:null
47
47
--det_model_dir:
48
48
--image_dir:null
49
49
null:null
50
50
--benchmark:True
51
51
null:null
52
52
===========================train_benchmark_params==========================
53
53
batch_size:1
54
- fp_items:fp32
54
+ fp_items:null
55
55
epoch:20
56
- --profiler_options:batch_range=[1,1] ;state=GPU;tracer_option=Default;profile_path=model.profile
56
+ null:null ;state=GPU;tracer_option=Default;profile_path=model.profile
57
57
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=0
58
58
===========================prepare_params==========================
59
59
download_dataset:/examples/cylinder/2d_unsteady/download_dataset.py
60
- pip:pip
60
+ pip:pip
61
+ workdir:examples/cylinder/2d_unsteady
Original file line number Diff line number Diff line change @@ -57,4 +57,5 @@ epoch:20
57
57
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=0
58
58
===========================prepare_params==========================
59
59
download_dataset:
60
- pip:pip
60
+ pip:pip
61
+ workdir:examples/euler_beam
Original file line number Diff line number Diff line change @@ -18,10 +18,12 @@ lines=(${dataline})
18
18
download_dataset=$( func_parser_value " ${lines[61]} " )
19
19
python=$( func_parser_value " ${lines[2]} " )
20
20
export pip=$( func_parser_value " ${lines[62]} " )
21
+ workdir=$( func_parser_value " ${lines[63]} " )
21
22
${pip} install --upgrade pip
22
23
${pip} install pybind11
23
24
${pip} install -r requirements.txt
24
25
25
- if [ -n ${download_dataset} ] ; then
26
+ if [ ${download_dataset} ] ; then
27
+ cd ${PDSC_DIR} /${workdir}
26
28
${python} ${PDSC_DIR}${download_dataset}
27
29
fi
You can’t perform that action at this time.
0 commit comments