forked from PaddlePaddle/PaddleGAN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TIPC] Fix Benchmark (PaddlePaddle#684)
* Fix amp bug for distributed train & Support amp for edvr * Change log save dir * Change data paralle * Invoke CI * Re-invoke CI * Add requirement install in prepare.sh
- Loading branch information
Showing
7 changed files
with
102 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
===========================train_params=========================== | ||
model_name:edvr | ||
python:python3.7 | ||
gpu_list:0 | ||
## | ||
auto_cast:null | ||
total_iters:lite_train_lite_infer=100 | ||
output_dir:./output/ | ||
dataset.train.batch_size:lite_train_lite_infer=4 | ||
pretrained_model:null | ||
train_model_name:basicvsr_reds*/*checkpoint.pdparams | ||
train_infer_img_dir:./data/basicvsr_reds/test | ||
null:null | ||
## | ||
trainer:amp_train | ||
amp_train:tools/main.py --amp --amp_level O2 -c configs/edvr_m_wo_tsa.yaml --seed 123 -o log_config.interval=5 | ||
pact_train:null | ||
fpgm_train:null | ||
distill_train:null | ||
null:null | ||
null:null | ||
## | ||
===========================eval_params=========================== | ||
eval:null | ||
null:null | ||
## | ||
===========================train_benchmark_params========================== | ||
batch_size:4|64 | ||
fp_items:fp32 | ||
total_iters:100 | ||
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile | ||
flags:FLAGS_cudnn_exhaustive_search=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters