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

AttributeError:'NoneType' object has no attribute 'serialize' #225

Closed
chegnyanjun opened this issue Nov 18, 2019 · 2 comments
Closed

AttributeError:'NoneType' object has no attribute 'serialize' #225

chegnyanjun opened this issue Nov 18, 2019 · 2 comments

Comments

@chegnyanjun
Copy link

chegnyanjun commented Nov 18, 2019

Hi,

I am trying to use convert the ONNX model to tensorrt engine, but i met the problem above. And I saw some issues, it looks like my ONNX model have unsupported layer ,but actually, my ONNX model is a sample pytorch model (it is a unet++ model, I trained it in pytorch),and i use the nearest mode(I saw it was supported in tensorrt6.0.1.5) to achieve upsample,so in unet++, there has no unsupported layer,but it indicated such problem.

I look inside and I found the parser.parse() return False,so I was very werid and i hope you can help me.

At last, my environment is pytorch 1.2, tensorrt 6.0.1.5,python3.7.I hope for your reply.tks.

@xuhuaze707313
Copy link

Hi, have you solved this problem ?

@chegnyanjun
Copy link
Author

chegnyanjun commented Dec 27, 2019

@xuhuaze707313.look at this:onnx/onnx-tensorrt#192

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

2 participants