From 8d84144029ac920f3f9b037bec10fc2646031b13 Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Fri, 1 Jul 2022 10:00:10 +0000 Subject: [PATCH] pre-commit --- tools/export_model.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/export_model.py b/tools/export_model.py index 503951a8..65573cf4 100755 --- a/tools/export_model.py +++ b/tools/export_model.py @@ -97,7 +97,6 @@ def export_single_model(model, shape=[None, 1, 32, 100], dtype="float32"), ] model = to_static(model, input_spec=other_shape) - elif arch_config["algorithm"] in ["LayoutLM", "LayoutLMv2", "LayoutXLM"]: input_spec = [ paddle.static.InputSpec( -- GitLab