From 411982ade5a10e2d2482a7487849beac93f48dd9 Mon Sep 17 00:00:00 2001 From: SunAhong1993 Date: Tue, 17 Nov 2020 17:58:26 +0800 Subject: [PATCH] fix the decoder --- x2paddle/decoder/onnx_decoder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/x2paddle/decoder/onnx_decoder.py b/x2paddle/decoder/onnx_decoder.py index 98bb421..3a1ba92 100644 --- a/x2paddle/decoder/onnx_decoder.py +++ b/x2paddle/decoder/onnx_decoder.py @@ -145,6 +145,7 @@ class ONNXGraph(Graph): self.build() self.collect_value_infos() self.allocate_shapes() + self.graph_name = "ONNXModel" def get_inner_nodes(self): """ -- GitLab