From 2fc143f338358d99564b9cb5308c5f261591e2f0 Mon Sep 17 00:00:00 2001 From: gaotingquan Date: Tue, 31 Jan 2023 09:28:24 +0000 Subject: [PATCH] support to_static --- .../configs/DenseNet/DenseNet121_train_infer_python.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test_tipc/configs/DenseNet/DenseNet121_train_infer_python.txt b/test_tipc/configs/DenseNet/DenseNet121_train_infer_python.txt index afcfd172..6fca683f 100644 --- a/test_tipc/configs/DenseNet/DenseNet121_train_infer_python.txt +++ b/test_tipc/configs/DenseNet/DenseNet121_train_infer_python.txt @@ -17,10 +17,10 @@ norm_train:tools/train.py -c ppcls/configs/ImageNet/DenseNet/DenseNet121.yaml -o pact_train:null fpgm_train:null distill_train:null -null:null +to_static_train:-o Global.to_static=True null:null ## -===========================eval_params=========================== +===========================eval_params=========================== eval:tools/eval.py -c ppcls/configs/ImageNet/DenseNet/DenseNet121.yaml null:null ## @@ -58,4 +58,4 @@ model_type:norm_train|to_static_train --profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] -- GitLab