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