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

@chingi071 @Ma-Dan #743

Closed
elhmadany opened this issue Apr 3, 2022 · 0 comments
Closed

@chingi071 @Ma-Dan #743

elhmadany opened this issue Apr 3, 2022 · 0 comments

Comments

@elhmadany
Copy link

I’ve been having this problem lately, How did you solve it?

@Ma-Dan Thank you very much for your open source and help. I used your github to convert the model to ncnn: https://github.com/Ma-Dan/yolact/tree/onnx.
I would like to ask if you have tried to convert onnx to ncnn? Because segmentation fault (core dumped) appears when I execute ncnnoptimize.
I am thinking about whether it is related to the error message that appears when converting onnx. The following is my error message. I will trouble you again, thank you.

The environment I used: python 3.7.9, torch1.5.0, torchvision 0.6.0, onnx 1.8.1

TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  if self.last_img_size != (cfg._tmp_img_w, cfg._tmp_img_h):

Originally posted by @chingi071 in #74 (comment)

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

1 participant