Open zhiyaoma opened 6 years ago
In the file : " onnx_coreml/_shapeinference.py " , in the function: "def infer_shapes_and_types(graph): # type: (GraphProto) -> GraphProto model = helper.make_model(graph) print(dir(model)) model_with_shapes = shape_inference.infer_shapes(model) return model_with_shapes.graph" Why can't I enter " infer_shapes "?
I get it ! Update the version~~
I got the same error, could please tell me how to resolve the problem. @zhiyaoma
sorry,I forget it..
---Original--- From: "Bofang Liu"<notifications@github.com> Date: Mon, Mar 9, 2020 18:41 PM To: "onnx/tutorials"<tutorials@noreply.github.com>; Cc: "Mention"<mention@noreply.github.com>;"zhiyaoma"<542324259@qq.com>; Subject: Re: [onnx/tutorials] Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) (#67)
I got the same error, could please tell me how to resolve the problem. @zhiyaoma
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
查看风格迁移模型,我们看到输入名为’0’,输出名为’186’。这些只是PyTorch分配的数字ID。我们需要将它们标记为图像。 如何用数字标记图像?我的写法如下: coreml_model = convert(model_proto, image_input_names=['0'], image_output_names=['156'])
但是报错(标题)。