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

Segmentation fault: incompatible of TersorRT version #40

Open
masteryun opened this issue Jul 23, 2019 · 7 comments
Open

Segmentation fault: incompatible of TersorRT version #40

masteryun opened this issue Jul 23, 2019 · 7 comments

Comments

@masteryun
Copy link

masteryun commented Jul 23, 2019

when I run the command: ./mobileNet
then I get the following errors:

attempting to open cache file ../../model/MobileNetSSD_deploy.caffemodel.1.tensorcache loading network profile from cache... createInference The engine plan file is incompatible with this version of TensorRT, expecting 5.0.6.3got -2100382470.0.2.1852793695, please rebuild. createInference_end Bindings after deserializing: Segmentation fault (core dumped)
But the requirement lists shows TensorRT4 is OK.

It looks like I should install tensorRT 5 according to the error, but when I run dpkg -l | grep TensorRT
it shows:

...~/MobileNet-SSD-TensorRT$ dpkg -l | grep TensorRT ii graphsurgeon-tf 5.0.6-1+cuda10.0 arm64 GraphSurgeon for TensorRT package ii libnvinfer-dev 5.0.6-1+cuda10.0 arm64 TensorRT development libraries and headers ii libnvinfer-samples 5.0.6-1+cuda10.0 all TensorRT samples and documentation ii libnvinfer5 5.0.6-1+cuda10.0 arm64 TensorRT runtime libraries ii python-libnvinfer 5.0.6-1+cuda10.0 arm64 Python bindings for TensorRT ii python-libnvinfer-dev 5.0.6-1+cuda10.0 arm64 Python development package for TensorRT ii python3-libnvinfer 5.0.6-1+cuda10.0 arm64 Python 3 bindings for TensorRT ii python3-libnvinfer-dev 5.0.6-1+cuda10.0 arm64 Python 3 development package for TensorRT ii tensorrt 5.0.6.3-1+cuda10.0 arm64 Meta package of TensorRT ii uff-converter-tf 5.0.6-1+cuda10.0 arm64 UFF converter for TensorRT package

My TensorRT is 5!
Someone can help me out with it? Thanks.

@masteryun masteryun changed the title Segmentation fault: version of tersorRT should be 5 Segmentation fault: incompatible of TersorRT version Jul 23, 2019
@BRUCE11111
Copy link

I got the same errors as yours.Do you fix it?How? Thank you.

@masteryun
Copy link
Author

masteryun commented Aug 24, 2019 via email

@BRUCE11111
Copy link

Thanks for the reply.I found the cause of the problem.
These code must run with TensorRT4.The reason is that the code use serialized engine (tensorRT's format) which are not portable across platforms or TensorRT versions.
If we use tensorRT4,it works fine.

@masteryun
Copy link
Author

masteryun commented Aug 25, 2019 via email

@ljdongysu
Copy link

When I build it with RT'6 ,it turns out ‘cudaSoftmax(int, int, float*, float*)’ is not defined, delete cudaSoftmax function can build suddessfully,but running with error Assertion `C2 == inputDims[param.inputOrder[1]].d[0]' failed.How can deal with it ?Is it caused by RT version?

@masteryun
Copy link
Author

masteryun commented Nov 1, 2019 via email

@huiofficial
Copy link

Looks like you are running with TensorRT 5.x, try to use 4.0. Hope this could help!

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

4 participants