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

Inference Error Jetson xavier NX #4

Open
shekarneo opened this issue Aug 4, 2023 · 5 comments
Open

Inference Error Jetson xavier NX #4

shekarneo opened this issue Aug 4, 2023 · 5 comments

Comments

@shekarneo
Copy link

shekarneo commented Aug 4, 2023

Hi, i tried to do inference with the code and i am not sure which is this path Makefile

and i removed it and created the engine file, but got error while inferencing.

ERROR: [TRT]: 2: [pluginV2DynamicExtRunner.cpp::execute::115] Error Code 2: Internal Error (Assertion status == kSTATUS_SUCCESS failed. )
ERROR: Failed to enqueue trt inference batch
ERROR: Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:00:12.100863066 338608 0xd770f60 WARN nvinfer gstnvinfer.cpp:1357:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
Error: gst-stream-error-quark: Failed to queue input batch for inferencing (1): gstnvinfer.cpp(1357): gst_nvinfer_input_queue_loop (): /GstPipeline:pipeline0/GstNvInfer:primary-inference
Exiting app

ERROR: [TRT]: 2: [pluginV2DynamicExtRunner.cpp::execute::115] Error Code 2: Internal Error (Assertion status == kSTATUS_SUCCESS failed. )
ERROR: Failed to enqueue trt inference batch
ERROR: Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:00:12.195473559 338608 0xd770f60 WARN nvinfer gstnvinfer.cpp:1357:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
ERROR: [TRT]: 2: [pluginV2DynamicExtRunner.cpp::execute::115] Error Code 2: Internal Error (Assertion status == kSTATUS_SUCCESS failed. )
ERROR: Failed to enqueue trt inference batch
ERROR: Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:00:12.216500136 338608 0xd770f60 WARN nvinfer gstnvinfer.cpp:1357:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
ERROR: [TRT]: 2: [pluginV2DynamicExtRunner.cpp::execute::115] Error Code 2: Internal Error (Assertion status == kSTATUS_SUCCESS failed. )
ERROR: Failed to enqueue trt inference batch
ERROR: Infer context enqueue buffer failed, nvinfer error:NVDSINFER_TENSORRT_ERROR
0:00:12.236711767 338608 0xd770f60 WARN nvinfer gstnvinfer.cpp:1357:gst_nvinfer_input_queue_loop: error: Failed to queue input batch for inferencing
free(): invalid pointer
Aborted (core dumped)

@NNDam
Copy link
Owner

NNDam commented Aug 4, 2023

Sorry about abspath to "common" directory, you may change to your. Did you convert to TensorRT successfull with trtexec ?

@shekarneo
Copy link
Author

shekarneo commented Aug 4, 2023

yes, engine conversion done but not using the above link, it was done at first run of the main_ff.py. which is the common dir path.

@NNDam
Copy link
Owner

NNDam commented Aug 5, 2023

This is dir common

@shekarneo
Copy link
Author

@NNDam i recompiled the lib file with changes and still same error.

@shekarneo
Copy link
Author

@NNDam any help here.

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