diff --git a/tools/export_model.py b/tools/export_model.py index 503951a8a69d4855842478bad8c35525f51b9185..65573cf46a9d650b8f833fdec43235de57faf5ac 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(