未验证 提交 b04c6fb4 编写于 作者: D Double_V 提交者: GitHub

add no_grad

上级 b8b6f2f0
...@@ -37,7 +37,7 @@ from ppocr.utils.save_load import init_model ...@@ -37,7 +37,7 @@ from ppocr.utils.save_load import init_model
from ppocr.utils.utility import get_image_file_list from ppocr.utils.utility import get_image_file_list
import tools.program as program import tools.program as program
@paddle.no_grad()
def main(): def main():
global_config = config['Global'] global_config = config['Global']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册