From 014d4e84d8bef20814941f98ac22facb095b1daf Mon Sep 17 00:00:00 2001 From: WJJ1995 Date: Mon, 23 May 2022 13:59:51 +0800 Subject: [PATCH] Add survey notice to help collect feedback from users (#801) * fixed linear fuse * add survey to help x2paddle collect feedback from users --- x2paddle/convert.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/x2paddle/convert.py b/x2paddle/convert.py index 5f660a6..2acbd35 100644 --- a/x2paddle/convert.py +++ b/x2paddle/convert.py @@ -192,6 +192,14 @@ def tf2paddle(model_path, ConverterCheck( task="TensorFlow", time_info=time_info, lite_state="Success").start() + # for convert survey + logging.info("================================================") + logging.info("") + logging.info( + "Model Convertd! Fill this survey to help X2Paddle better, https://iwenjuan.baidu.com/?code=npyd51 " + ) + logging.info("") + logging.info("================================================") def caffe2paddle(proto_file, @@ -240,6 +248,14 @@ def caffe2paddle(proto_file, if not disable_feedback: ConverterCheck( task="Caffe", time_info=time_info, lite_state="Success").start() + # for convert survey + logging.info("================================================") + logging.info("") + logging.info( + "Model Convertd! Fill this survey to help X2Paddle better, https://iwenjuan.baidu.com/?code=npyd51 " + ) + logging.info("") + logging.info("================================================") def onnx2paddle(model_path, @@ -293,6 +309,14 @@ def onnx2paddle(model_path, if not disable_feedback: ConverterCheck( task="ONNX", time_info=time_info, lite_state="Success").start() + # for convert survey + logging.info("================================================") + logging.info("") + logging.info( + "Model Convertd! Fill this survey to help X2Paddle better, https://iwenjuan.baidu.com/?code=npyd51 " + ) + logging.info("") + logging.info("================================================") def pytorch2paddle(module, @@ -364,6 +388,14 @@ def pytorch2paddle(module, ConverterCheck( task="PyTorch", time_info=time_info, lite_state="Success").start() + # for convert survey + logging.info("================================================") + logging.info("") + logging.info( + "Model Convertd! Fill this survey to help X2Paddle better, https://iwenjuan.baidu.com/?code=npyd51 " + ) + logging.info("") + logging.info("================================================") def main(): -- GitLab