Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) #67

Open
zhiyaoma opened this issue Sep 17, 2018 · 4 comments
Open

Comments

@zhiyaoma
Copy link

查看风格迁移模型,我们看到输入名为’0’,输出名为’186’。这些只是PyTorch分配的数字ID。我们需要将它们标记为图像。
如何用数字标记图像?我的写法如下:
coreml_model = convert(model_proto, image_input_names=['0'], image_output_names=['156'])
但是报错(标题)。

@zhiyaoma
Copy link
Author

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 "?

@zhiyaoma
Copy link
Author

I get it ! Update the version~~

@ResearchingDexter
Copy link

I got the same error, could please tell me how to resolve the problem. @zhiyaoma

@zhiyaoma
Copy link
Author

zhiyaoma commented Mar 21, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@zhiyaoma @ResearchingDexter and others