dusty-nv / jetson-inference

Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson.
https://developer.nvidia.com/embedded/twodaystoademo
MIT License
7.86k stars 2.98k forks source link

Error when running a detection using jetson_inference and jetson_utils #1788

Open celzambranom opened 9 months ago

celzambranom commented 9 months ago

The problem occurs when I execute the code as a non-root user, when I execute it as a root user there is no problem, the error is the following:

[cuda] cudaGetLastError() [cuda] unknown error (error 999) (hex 0x3E7) [cuda] /home/jetson2/jetson-inference/utils/cuda/cudaCrop.cu:78 [cuda] cudaCrop(input->base.ptr, output->base.ptr, make_int4(left, top, right, bottom), input->width, input->height, input->format) [cuda] unknown error (error 999) (hex 0x3E7) [cuda] /home/jetson2/jetson-inference/utils/python/bindings/PyCUDA.cpp:1383 Traceback (most recent call last): File "detectnet.py", line 61, in jetson_utils.cudaCrop(img, imgOutput, roi) Exception: jetson.utils -- cudaCrop() failed