diff --git a/x2paddle/decoder/onnx_decoder.py b/x2paddle/decoder/onnx_decoder.py index 7a8fd37f6e0f2b46ffe0224fd4a8df23f247c6d8..a16f31d493109258b37054775c796e5a2898f178 100644 --- a/x2paddle/decoder/onnx_decoder.py +++ b/x2paddle/decoder/onnx_decoder.py @@ -554,7 +554,7 @@ class ONNXDecoder(object): """ if name == '': raise ValueError('name should not be empty') - for s in ' .*?\\/-:': + for s in ' .*?\\/-:;': name = name.replace(s, '_') return 'x2paddle_' + name