Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glog的警告信息怎么处理? #4

Open
xauat-liushipeng opened this issue Apr 1, 2022 · 1 comment
Open

glog的警告信息怎么处理? #4

xauat-liushipeng opened this issue Apr 1, 2022 · 1 comment

Comments

@xauat-liushipeng
Copy link

WARNING: Logging before InitGoogleLogging() is written to STDERR
W0401 10:57:28.656622 7832 analysis_predictor.cc:1145] Deprecated. Please use CreatePredictor instead.
I0401 10:57:28.656622 7832 analysis_predictor.cc:155] Profiler is deactivated, and no profiling report will be generated.
e[1me[35m--- Running analysis [ir_graph_build_pass]e[0m
e[1me[35m--- Running analysis [ir_graph_clean_pass]e[0m
e[1me[35m--- Running analysis [ir_analysis_pass]e[0m
e[32m--- Running IR pass [simplify_with_basic_ops_pass]e[0m
e[32m--- Running IR pass [attention_lstm_fuse_pass]e[0m
e[32m--- Running IR pass [seqconv_eltadd_relu_fuse_pass]e[0m
e[32m--- Running IR pass [seqpool_cvm_concat_fuse_pass]e[0m
e[32m--- Running IR pass [mul_lstm_fuse_pass]e[0m
e[32m--- Running IR pass [fc_gru_fuse_pass]e[0m
e[32m--- Running IR pass [mul_gru_fuse_pass]e[0m
e[32m--- Running IR pass [seq_concat_fc_fuse_pass]e[0m
e[32m--- Running IR pass [squeeze2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [reshape2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [flatten2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [map_matmul_to_mul_pass]e[0m
e[32m--- Running IR pass [fc_fuse_pass]e[0m
e[32m--- Running IR pass [repeated_fc_relu_fuse_pass]e[0m
e[32m--- Running IR pass [squared_mat_sub_fuse_pass]e[0m
e[32m--- Running IR pass [conv_bn_fuse_pass]e[0m
I0401 10:57:28.782287 7832 graph_pattern_detector.cc:101] --- detected 33 subgraphs
e[32m--- Running IR pass [conv_eltwiseadd_bn_fuse_pass]e[0m
e[32m--- Running IR pass [conv_transpose_bn_fuse_pass]e[0m
e[32m--- Running IR pass [conv_transpose_eltwiseadd_bn_fuse_pass]e[0m
I0401 10:57:28.795253 7832 graph_pattern_detector.cc:101] --- detected 1 subgraphs
e[32m--- Running IR pass [is_test_pass]e[0m
e[32m--- Running IR pass [runtime_context_cache_pass]e[0m
e[1me[35m--- Running analysis [ir_params_sync_among_devices_pass]e[0m
e[1me[35m--- Running analysis [adjust_cudnn_workspace_size_pass]e[0m
e[1me[35m--- Running analysis [inference_op_replace_pass]e[0m
e[1me[35m--- Running analysis [ir_graph_to_program_pass]e[0m
I0401 10:57:28.839135 7832 analysis_predictor.cc:598] ======= optimize end =======
I0401 10:57:28.839135 7832 naive_executor.cc:107] --- skip [feed], feed -> x
I0401 10:57:28.842128 7832 naive_executor.cc:107] --- skip [save_infer_model/scale_0.tmp_1], fetch -> fetch
I0401 10:57:28.844122 7832 analysis_predictor.cc:155] Profiler is deactivated, and no profiling report will be generated.
I0401 10:57:28.845119 7832 naive_executor.cc:107] --- skip [feed], feed -> x
I0401 10:57:28.847115 7832 naive_executor.cc:107] --- skip [save_infer_model/scale_0.tmp_1], fetch -> fetch
Loading: 100% |========================================|
W0401 10:57:28.897034 7832 analysis_predictor.cc:1145] Deprecated. Please use CreatePredictor instead.
I0401 10:57:28.898003 7832 analysis_predictor.cc:155] Profiler is deactivated, and no profiling report will be generated.
e[1me[35m--- Running analysis [ir_graph_build_pass]e[0m
e[1me[35m--- Running analysis [ir_graph_clean_pass]e[0m
e[1me[35m--- Running analysis [ir_analysis_pass]e[0m
e[32m--- Running IR pass [simplify_with_basic_ops_pass]e[0m
e[32m--- Running IR pass [attention_lstm_fuse_pass]e[0m
e[32m--- Running IR pass [seqconv_eltadd_relu_fuse_pass]e[0m
e[32m--- Running IR pass [seqpool_cvm_concat_fuse_pass]e[0m
e[32m--- Running IR pass [mul_lstm_fuse_pass]e[0m
e[32m--- Running IR pass [fc_gru_fuse_pass]e[0m
e[32m--- Running IR pass [mul_gru_fuse_pass]e[0m
e[32m--- Running IR pass [seq_concat_fc_fuse_pass]e[0m
e[32m--- Running IR pass [squeeze2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [reshape2_matmul_fuse_pass]e[0m
I0401 10:57:28.956837 7832 graph_pattern_detector.cc:101] --- detected 1 subgraphs
e[32m--- Running IR pass [flatten2_matmul_fuse_pass]e[0m
e[32m--- Running IR pass [map_matmul_to_mul_pass]e[0m
I0401 10:57:28.958833 7832 graph_pattern_detector.cc:101] --- detected 1 subgraphs
e[32m--- Running IR pass [fc_fuse_pass]e[0m
I0401 10:57:28.959831 7832 graph_pattern_detector.cc:101] --- detected 1 subgraphs
e[32m--- Running IR pass [repeated_fc_relu_fuse_pass]e[0m
e[32m--- Running IR pass [squared_mat_sub_fuse_pass]e[0m
e[32m--- Running IR pass [conv_bn_fuse_pass]e[0m
I0401 10:57:29.000751 7832 graph_pattern_detector.cc:101] --- detected 24 subgraphs
e[32m--- Running IR pass [conv_eltwiseadd_bn_fuse_pass]e[0m
e[32m--- Running IR pass [conv_transpose_bn_fuse_pass]e[0m
e[32m--- Running IR pass [conv_transpose_eltwiseadd_bn_fuse_pass]e[0m
e[32m--- Running IR pass [is_test_pass]e[0m
e[32m--- Running IR pass [runtime_context_cache_pass]e[0m
e[1me[35m--- Running analysis [ir_params_sync_among_devices_pass]e[0m
e[1me[35m--- Running analysis [adjust_cudnn_workspace_size_pass]e[0m
e[1me[35m--- Running analysis [inference_op_replace_pass]e[0m
e[1me[35m--- Running analysis [ir_graph_to_program_pass]e[0m
I0401 10:57:29.055603 7832 analysis_predictor.cc:598] ======= optimize end =======
I0401 10:57:29.055603 7832 naive_executor.cc:107] --- skip [feed], feed -> x
I0401 10:57:29.058598 7832 naive_executor.cc:107] --- skip [save_infer_model/scale_0.tmp_1], fetch -> fetch
I0401 10:57:29.058598 7832 analysis_predictor.cc:155] Profiler is deactivated, and no profiling report will be generated.
I0401 10:57:29.058598 7832 naive_executor.cc:107] --- skip [feed], feed -> x
I0401 10:57:29.060588 7832 naive_executor.cc:107] --- skip [save_infer_model/scale_0.tmp_1], fetch -> fetch

@WabbyWabbo
Copy link

同问,这个log在哪里能关掉或者输出到文件里吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants