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

Error Loading TensorRT plan for ResNet-18_2D #150

Open
amirkforesightauto opened this issue Apr 22, 2020 · 1 comment
Open

Error Loading TensorRT plan for ResNet-18_2D #150

amirkforesightauto opened this issue Apr 22, 2020 · 1 comment

Comments

@amirkforesightauto
Copy link

I run the following code twice:
"./bin/nvstereo_sample_app resnet18_2D 513 257 ./models/ResNet-18_2D/TensorRT/trt_weights.bin ./sample_app/data/img_left.png ./sample_app/data/img_right.png ./bin/disp.bin"

The first run generated a plan file in
"/stereoDNN/models/ResNet-18_2D/TensorRT/trt_weights.bin.plan"

The second run generated the following error:
"Loading TensorRT plan from ./models/ResNet-18_2D/TensorRT/trt_weights.bin.plan...
double free or corruption (out)
Aborted (core dumped)"

I'm using tensorrt 6.0.

Would appreciate your help.

Thanks

@mtbsteve
Copy link

mtbsteve commented Dec 2, 2020

Same problem here after I switched to Jetpack 4.4. Everything runs fine on Jetpack 4.2. So I assume its a problem with either TensorRT 7.1.3 or a problem with OpenCV 4.1.1. I had to do a few tweaks on the code to support OpenCV 4 but it compiles well now and also the StereoDNN code runs well as long as I generate the trt_weights_plan file from scratch. Any ideas what I could do?

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