Advertisement
Guest User

Untitled

a guest
Dec 1st, 2021
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 14.20 KB | None | 0 0
  1. Starting program: /usr/bin/python3 script.py
  2. [Thread debugging using libthread_db enabled]
  3. Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
  4. [New Thread 0x7fb281a1f0 (LWP 6922)]
  5. [New Thread 0x7fb20191f0 (LWP 6923)]
  6. [New Thread 0x7faf8181f0 (LWP 6924)]
  7. [Thread 0x7faf8181f0 (LWP 6924) exited]
  8. [Thread 0x7fb20191f0 (LWP 6923) exited]
  9. [Thread 0x7fb281a1f0 (LWP 6922) exited]
  10. [OpenGL] glDisplay -- X screen 0 resolution:  1280x720
  11. [OpenGL] glDisplay -- X window resolution:    1280x720
  12. [OpenGL] glDisplay -- display device initialized (1280x720)
  13. [video]  created glDisplay from display://0
  14. ------------------------------------------------
  15. glDisplay video options:
  16. ------------------------------------------------
  17.   -- URI: display://0
  18.      - protocol:  display
  19.      - location:  0
  20.   -- deviceType: display
  21.   -- ioType:     output
  22.   -- codec:      raw
  23.   -- width:      1280
  24.   -- height:     720
  25.   -- frameRate:  0.000000
  26.   -- bitRate:    0
  27.   -- numBuffers: 4
  28.   -- zeroCopy:   true
  29.   -- flipMethod: none
  30.   -- loop:       0
  31.   -- rtspLatency 2000
  32. ------------------------------------------------
  33. [New Thread 0x7faf8181f0 (LWP 6929)]
  34. [New Thread 0x7fb20191f0 (LWP 6930)]
  35.  
  36. detectNet -- loading detection network model from:
  37.           -- prototxt     NULL
  38.           -- model        /home/arctic/Downloads/work/model/ssd-mobilenet.onnx
  39.           -- input_blob   'input_0'
  40.           -- output_cvg   'scores'
  41.           -- output_bbox  'boxes'
  42.           -- mean_pixel   0.000000
  43.           -- mean_binary  NULL
  44.           -- class_labels /home/arctic/Downloads/work/model/labels.txt
  45.           -- threshold    0.500000
  46.           -- batch_size   1
  47.  
  48. [New Thread 0x7fb281a1f0 (LWP 6931)]
  49. [TRT]    TensorRT version 8.0.1
  50. [TRT]    loading NVIDIA plugins...
  51. [TRT]    Registered plugin creator - ::GridAnchor_TRT version 1
  52. [TRT]    Registered plugin creator - ::GridAnchorRect_TRT version 1
  53. [TRT]    Registered plugin creator - ::NMS_TRT version 1
  54. [TRT]    Registered plugin creator - ::Reorg_TRT version 1
  55. [TRT]    Registered plugin creator - ::Region_TRT version 1
  56. [TRT]    Registered plugin creator - ::Clip_TRT version 1
  57. [TRT]    Registered plugin creator - ::LReLU_TRT version 1
  58. [TRT]    Registered plugin creator - ::PriorBox_TRT version 1
  59. [TRT]    Registered plugin creator - ::Normalize_TRT version 1
  60. [TRT]    Registered plugin creator - ::ScatterND version 1
  61. [TRT]    Registered plugin creator - ::RPROI_TRT version 1
  62. [TRT]    Registered plugin creator - ::BatchedNMS_TRT version 1
  63. [TRT]    Registered plugin creator - ::BatchedNMSDynamic_TRT version 1
  64. [TRT]    Could not register plugin creator -  ::FlattenConcat_TRT version 1
  65. [TRT]    Registered plugin creator - ::CropAndResize version 1
  66. [TRT]    Registered plugin creator - ::DetectionLayer_TRT version 1
  67. [TRT]    Registered plugin creator - ::EfficientNMS_ONNX_TRT version 1
  68. [TRT]    Registered plugin creator - ::EfficientNMS_TRT version 1
  69. [TRT]    Registered plugin creator - ::Proposal version 1
  70. [TRT]    Registered plugin creator - ::ProposalLayer_TRT version 1
  71. [TRT]    Registered plugin creator - ::PyramidROIAlign_TRT version 1
  72. [TRT]    Registered plugin creator - ::ResizeNearest_TRT version 1
  73. [TRT]    Registered plugin creator - ::Split version 1
  74. [TRT]    Registered plugin creator - ::SpecialSlice_TRT version 1
  75. [TRT]    Registered plugin creator - ::InstanceNormalization_TRT version 1
  76. [TRT]    detected model format - ONNX  (extension '.onnx')
  77. [TRT]    desired precision specified for GPU: FASTEST
  78. [TRT]    requested fasted precision for device GPU without providing valid calibrator, disabling INT8
  79. [TRT]    [MemUsageChange] Init CUDA: CPU +197, GPU +0, now: CPU 234, GPU 3795 (MiB)
  80. [TRT]    native precisions detected for GPU:  FP32, FP16
  81. [TRT]    selecting fastest native precision for GPU:  FP16
  82. [TRT]    attempting to open engine cache file /home/arctic/Downloads/work/model/ssd-mobilenet.onnx.1.1.8001.GPU.FP16.engine
  83. [TRT]    loading network plan from engine cache... /home/arctic/Downloads/work/model/ssd-mobilenet.onnx.1.1.8001.GPU.FP16.engine
  84. [TRT]    device GPU, loaded /home/arctic/Downloads/work/model/ssd-mobilenet.onnx
  85. [TRT]    [MemUsageChange] Init CUDA: CPU +0, GPU +0, now: CPU 251, GPU 3829 (MiB)
  86. [TRT]    Loaded engine size: 16 MB
  87. [TRT]    [MemUsageSnapshot] deserializeCudaEngine begin: CPU 251 MiB, GPU 3829 MiB
  88. [TRT]    Using cublas a tactic source
  89. [TRT]    [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +158, GPU +29, now: CPU 410, GPU 3873 (MiB)
  90. [TRT]    Using cuDNN as a tactic source
  91. [TRT]    [MemUsageChange] Init cuDNN: CPU +240, GPU -142, now: CPU 650, GPU 3731 (MiB)
  92. [TRT]    [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +0, now: CPU 650, GPU 3734 (MiB)
  93. [TRT]    Deserialization required 5259227 microseconds.
  94. [TRT]    [MemUsageSnapshot] deserializeCudaEngine end: CPU 650 MiB, GPU 3734 MiB
  95. [TRT]    [MemUsageSnapshot] ExecutionContext creation begin: CPU 650 MiB, GPU 3734 MiB
  96. [TRT]    Using cublas a tactic source
  97. [TRT]    [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +0, now: CPU 650, GPU 3734 (MiB)
  98. [TRT]    Using cuDNN as a tactic source
  99. [TRT]    [MemUsageChange] Init cuDNN: CPU +0, GPU +0, now: CPU 650, GPU 3734 (MiB)
  100. [TRT]    Total per-runner device memory is 14580736
  101. [TRT]    Total per-runner host memory is 69824
  102. [TRT]    Allocated activation device memory of size 8892416
  103. [TRT]    [MemUsageSnapshot] ExecutionContext creation end: CPU 652 MiB, GPU 3744 MiB
  104. [TRT]    
  105. [TRT]    CUDA engine context initialized on device GPU:
  106. [TRT]       -- layers       99
  107. [TRT]       -- maxBatchSize 1
  108. [TRT]       -- deviceMemory 8892416
  109. [TRT]       -- bindings     3
  110. [TRT]       binding 0
  111.                 -- index   0
  112.                 -- name    'input_0'
  113.                 -- type    FP32
  114.                 -- in/out  INPUT
  115.                 -- # dims  4
  116.                 -- dim #0  1
  117.                 -- dim #1  3
  118.                 -- dim #2  300
  119.                 -- dim #3  300
  120. [TRT]       binding 1
  121.                 -- index   1
  122.                 -- name    'scores'
  123.                 -- type    FP32
  124.                 -- in/out  OUTPUT
  125.                 -- # dims  3
  126.                 -- dim #0  1
  127.                 -- dim #1  3000
  128.                 -- dim #2  5
  129. [TRT]       binding 2
  130.                 -- index   2
  131.                 -- name    'boxes'
  132.                 -- type    FP32
  133.                 -- in/out  OUTPUT
  134.                 -- # dims  3
  135.                 -- dim #0  1
  136.                 -- dim #1  3000
  137.                 -- dim #2  4
  138. [TRT]    
  139. [TRT]    binding to input 0 input_0  binding index:  0
  140. [TRT]    binding to input 0 input_0  dims (b=1 c=3 h=300 w=300) size=1080000
  141. [TRT]    binding to output 0 scores  binding index:  1
  142. [TRT]    binding to output 0 scores  dims (b=1 c=3000 h=5 w=1) size=60000
  143. [TRT]    binding to output 1 boxes  binding index:  2
  144. [TRT]    binding to output 1 boxes  dims (b=1 c=3000 h=4 w=1) size=48000
  145. [TRT]    
  146. [TRT]    device GPU, /home/arctic/Downloads/work/model/ssd-mobilenet.onnx initialized.
  147. [TRT]    detectNet -- number object classes:  5
  148. [TRT]    detectNet -- maximum bounding boxes:  3000
  149. [TRT]    detectNet -- loaded 5 class info entries
  150. [TRT]    detectNet -- number of object classes:  5
  151.  
  152. (gst-plugin-scanner:7308): GLib-GObject-WARNING **: 16:10:18.108: cannot register existing type 'GstVideoAggregator'
  153.  
  154. (gst-plugin-scanner:7308): GLib-GObject-CRITICAL **: 16:10:18.110: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
  155.  
  156. (gst-plugin-scanner:7308): GLib-CRITICAL **: 16:10:18.110: g_once_init_leave: assertion 'result != 0' failed
  157.  
  158. (gst-plugin-scanner:7308): GLib-GObject-CRITICAL **: 16:10:18.110: g_type_register_static: assertion 'parent_type > 0' failed
  159.  
  160. (gst-plugin-scanner:7308): GLib-CRITICAL **: 16:10:18.110: g_once_init_leave: assertion 'result != 0' failed
  161.  
  162. (gst-plugin-scanner:7308): GStreamer-CRITICAL **: 16:10:18.110: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
  163. [gstreamer] initialized gstreamer, version 1.16.3.0
  164. [gstreamer] gstCamera -- attempting to create device v4l2:///dev/video1
  165. [gstreamer] gstCamera -- found v4l2 device: Logitech HD Webcam C270
  166. [gstreamer] v4l2-proplist, device.path=(string)/dev/video1, udev-probed=(boolean)false, device.api=(string)v4l2, v4l2.device.driver=(string)uvcvideo, v4l2.device.card=(string)"Logitech\ HD\ Webcam\ C270", v4l2.device.bus_info=(string)usb-70090000.xusb-2.2, v4l2.device.version=(uint)264701, v4l2.device.capabilities=(uint)2216689665, v4l2.device.device_caps=(uint)69206017;
  167. [gstreamer] gstCamera -- found 15 caps for v4l2 device /dev/video1
  168. [gstreamer] [0] video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)960, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)5/1;
  169. [gstreamer] [1] video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)960, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)5/1;
  170. [gstreamer] [2] video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)5/1;
  171. [gstreamer] [3] video/x-raw, format=(string)YUY2, width=(int)1024, height=(int)768, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)5/1;
  172. [gstreamer] [4] video/x-raw, format=(string)YUY2, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)20/1;
  173. [gstreamer] [5] video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 20/1, 15/1, 10/1, 5/1 };
  174. [gstreamer] [6] video/x-raw, format=(string)YUY2, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1;
  175. [gstreamer] [7] image/jpeg, width=(int)1280, height=(int)960, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 20/1, 15/1, 10/1, 5/1 };
  176. [gstreamer] [8] image/jpeg, width=(int)1280, height=(int)960, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 20/1, 15/1, 10/1, 5/1 };
  177. [gstreamer] [9] image/jpeg, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 20/1, 15/1, 10/1, 5/1 };
  178. [gstreamer] [10] image/jpeg, width=(int)1024, height=(int)768, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 20/1, 15/1, 10/1, 5/1 };
  179. [gstreamer] [11] image/jpeg, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 20/1, 15/1, 10/1, 5/1 };
  180. [gstreamer] [12] image/jpeg, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
  181. [gstreamer] [13] image/jpeg, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 20/1, 15/1, 10/1, 5/1 };
  182. [gstreamer] [14] image/jpeg, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 20/1, 15/1, 10/1, 5/1 };
  183. [gstreamer] gstCamera -- selected device profile:  codec=mjpeg format=unknown width=1280 height=720
  184. [gstreamer] gstCamera pipeline string:
  185. [gstreamer] v4l2src device=/dev/video1 ! image/jpeg, width=(int)1280, height=(int)720 ! jpegdec ! video/x-raw ! appsink name=mysink
  186. [gstreamer] gstCamera successfully created device v4l2:///dev/video1
  187. [video]  created gstCamera from v4l2:///dev/video1
  188. ------------------------------------------------
  189. gstCamera video options:
  190. ------------------------------------------------
  191.   -- URI: v4l2:///dev/video1
  192.      - protocol:  v4l2
  193.      - location:  /dev/video1
  194.      - port:      1
  195.   -- deviceType: v4l2
  196.   -- ioType:     input
  197.   -- codec:      mjpeg
  198.   -- width:      1280
  199.   -- height:     720
  200.   -- frameRate:  30.000000
  201.   -- bitRate:    0
  202.   -- numBuffers: 4
  203.   -- zeroCopy:   true
  204.   -- flipMethod: none
  205.   -- loop:       0
  206.   -- rtspLatency 2000
  207. ------------------------------------------------
  208. [gstreamer] opening gstCamera for streaming, transitioning pipeline to GST_STATE_PLAYING
  209. [New Thread 0x7f838651f0 (LWP 7416)]
  210. [gstreamer] gstreamer changed state from NULL to READY ==> mysink
  211. [gstreamer] gstreamer changed state from NULL to READY ==> capsfilter1
  212. [gstreamer] gstreamer changed state from NULL to READY ==> jpegdec0
  213. [gstreamer] gstreamer changed state from NULL to READY ==> capsfilter0
  214. [gstreamer] gstreamer changed state from NULL to READY ==> v4l2src0
  215. [gstreamer] gstreamer changed state from NULL to READY ==> pipeline0
  216. [gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter1
  217. [gstreamer] gstreamer changed state from READY to PAUSED ==> jpegdec0
  218. [gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter0
  219. [gstreamer] gstreamer stream status CREATE ==> src
  220. [gstreamer] gstreamer changed state from READY to PAUSED ==> v4l2src0
  221. [gstreamer] gstreamer changed state from READY to PAUSED ==> pipeline0
  222. [gstreamer] gstreamer stream status ENTER ==> src
  223. [gstreamer] gstreamer message new-clock ==> pipeline0
  224. [gstreamer] gstreamer message stream-start ==> pipeline0
  225. [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter1
  226. [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> jpegdec0
  227. [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter0
  228. [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> v4l2src0
  229. [gstreamer] gstCamera -- onPreroll
  230. [New Thread 0x7f4d0291f0 (LWP 7417)]
  231. [gstreamer] gstBufferManager -- map buffer size was less than max size (1382400 vs 1382407)
  232. [gstreamer] gstBufferManager recieve caps:  video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)1:4:0:0, framerate=(fraction)30/1
  233. [gstreamer] gstBufferManager -- recieved first frame, codec=mjpeg format=i420 width=1280 height=720 size=1382407
  234. RingBuffer -- allocated 4 buffers (1382407 bytes each, 5529628 bytes total)
  235. [gstreamer] gstreamer changed state from READY to PAUSED ==> mysink
  236. [gstreamer] gstreamer message async-done ==> pipeline0
  237. [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> mysink
  238. [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> pipeline0
  239. RingBuffer -- allocated 4 buffers (2764800 bytes each, 11059200 bytes total)
  240. [gstreamer] gstreamer message qos ==> v4l2src0
  241. [Thread 0x7f4d0291f0 (LWP 7417) exited]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement