ceccocats / tkDNN

Deep neural network library and toolkit to do high performace inference on NVIDIA jetson platforms
GNU General Public License v2.0
720 stars 209 forks source link

TkDnn vs OpenCv Dnn #298

Closed faithmaker closed 2 years ago

faithmaker commented 2 years ago

We identified the same number of people through the same video file. The number of processed frames was almost the same. Is this correct?

*. Environment -. Jetson Nano : pack4.6.2(Cuda10.2, TensoRt8.2.1) + Opencv4.6.0 -. 640x480 Video File

*. Test(Only the part that calls the DNN is different) -. TkDnn 480x480 YoloV4 Tiny(xxx_fp32.rt) : 17-18Fps -. OpenCv With Dnn(readNetFromDarknet) 480x480 YoloV4 Tiny(xxx.weights) : 17-18Fps

*. cmake -DCMAKE_BUILD_TYPE=Release .. cmake -DCMAKE_BUILD_TYPE=Release .. -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda (found suitable version "10.2", minimum required is "9.0") -- CUDA Architecture: -arch=sm_53 -- CUDA Version: 10.2 -- CUDA Path: /usr/local/cuda -- CUDA Libararies: /usr/local/cuda/lib64/libcudart_static.a;Threads::Threads;dl;/usr/lib/aarch64-linux-gnu/librt.so -- CUDA Performance Primitives: /usr/local/cuda/lib64/libnppc.so;/usr/local/cuda/lib64/libnppial.so;/usr/local/cuda/lib64/libnppicc.so;/usr/local/cuda/lib64/libnppicom.so;/usr/local/cuda/lib64/libnppidei.so;/usr/local/cuda/lib64/libnppif.so;/usr/local/cuda/lib64/libnppig.so;/usr/local/cuda/lib64/libnppim.so;/usr/local/cuda/lib64/libnppist.so;/usr/local/cuda/lib64/libnppisu.so;/usr/local/cuda/lib64/libnppitc.so;/usr/local/cuda/lib64/libnpps.so -- Found CUDNN: /usr/lib/aarch64-linux-gnu/libcudnn.so -- Found CUDNN include: /usr/include -- Found NVINFER: /usr/lib/aarch64-linux-gnu/libnvinfer.so -- Found NVINFER include: /usr/include/aarch64-linux-gnu -- Found CUDNN: /usr/lib/aarch64-linux-gnu/libcudnn.so
Eigen DIR: /usr/include/eigen3 -- Found OpenCV: /usr (found version "4.6.0") install dir:/usr/local -- Configuring done -- Generating done -- Build files have been written to: /home/humanrix/Downloads/TkDnn/tkDNN/build