提交 f2c35f55 编写于 作者: L LDOUBLEV

enable_static to export_model

上级 0045e089
......@@ -15,6 +15,7 @@
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from ppocr.utils.utility import enable_static_mode
import os
import sys
......@@ -43,7 +44,6 @@ logger = initial_logger()
from ppocr.utils.save_load import init_model
def main():
startup_prog, eval_program, place, config, _ = program.preprocess()
......@@ -72,4 +72,5 @@ def main():
if __name__ == '__main__':
enable_static_mode()
main()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册