NNDam / deepstream-face-recognition

Face detection -> alignment -> feature extraction with deepstream
7 stars 5 forks source link

Inference Error Jetson xavier NX #4

Open shekarneo opened 1 year ago

shekarneo commented 1 year ago

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 commented 1 year ago

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

shekarneo commented 1 year ago

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 commented 1 year ago

This is dir common

shekarneo commented 1 year ago

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

shekarneo commented 1 year ago

@NNDam any help here.