Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Starting program: /usr/bin/python3 script.py
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
- [New Thread 0x7fb281a1f0 (LWP 6922)]
- [New Thread 0x7fb20191f0 (LWP 6923)]
- [New Thread 0x7faf8181f0 (LWP 6924)]
- [Thread 0x7faf8181f0 (LWP 6924) exited]
- [Thread 0x7fb20191f0 (LWP 6923) exited]
- [Thread 0x7fb281a1f0 (LWP 6922) exited]
- [OpenGL] glDisplay -- X screen 0 resolution: 1280x720
- [OpenGL] glDisplay -- X window resolution: 1280x720
- [OpenGL] glDisplay -- display device initialized (1280x720)
- [video] created glDisplay from display://0
- ------------------------------------------------
- glDisplay video options:
- ------------------------------------------------
- -- URI: display://0
- - protocol: display
- - location: 0
- -- deviceType: display
- -- ioType: output
- -- codec: raw
- -- width: 1280
- -- height: 720
- -- frameRate: 0.000000
- -- bitRate: 0
- -- numBuffers: 4
- -- zeroCopy: true
- -- flipMethod: none
- -- loop: 0
- -- rtspLatency 2000
- ------------------------------------------------
- [New Thread 0x7faf8181f0 (LWP 6929)]
- [New Thread 0x7fb20191f0 (LWP 6930)]
- detectNet -- loading detection network model from:
- -- prototxt NULL
- -- model /home/arctic/Downloads/work/model/ssd-mobilenet.onnx
- -- input_blob 'input_0'
- -- output_cvg 'scores'
- -- output_bbox 'boxes'
- -- mean_pixel 0.000000
- -- mean_binary NULL
- -- class_labels /home/arctic/Downloads/work/model/labels.txt
- -- threshold 0.500000
- -- batch_size 1
- [New Thread 0x7fb281a1f0 (LWP 6931)]
- [TRT] TensorRT version 8.0.1
- [TRT] loading NVIDIA plugins...
- [TRT] Registered plugin creator - ::GridAnchor_TRT version 1
- [TRT] Registered plugin creator - ::GridAnchorRect_TRT version 1
- [TRT] Registered plugin creator - ::NMS_TRT version 1
- [TRT] Registered plugin creator - ::Reorg_TRT version 1
- [TRT] Registered plugin creator - ::Region_TRT version 1
- [TRT] Registered plugin creator - ::Clip_TRT version 1
- [TRT] Registered plugin creator - ::LReLU_TRT version 1
- [TRT] Registered plugin creator - ::PriorBox_TRT version 1
- [TRT] Registered plugin creator - ::Normalize_TRT version 1
- [TRT] Registered plugin creator - ::ScatterND version 1
- [TRT] Registered plugin creator - ::RPROI_TRT version 1
- [TRT] Registered plugin creator - ::BatchedNMS_TRT version 1
- [TRT] Registered plugin creator - ::BatchedNMSDynamic_TRT version 1
- [TRT] Could not register plugin creator - ::FlattenConcat_TRT version 1
- [TRT] Registered plugin creator - ::CropAndResize version 1
- [TRT] Registered plugin creator - ::DetectionLayer_TRT version 1
- [TRT] Registered plugin creator - ::EfficientNMS_ONNX_TRT version 1
- [TRT] Registered plugin creator - ::EfficientNMS_TRT version 1
- [TRT] Registered plugin creator - ::Proposal version 1
- [TRT] Registered plugin creator - ::ProposalLayer_TRT version 1
- [TRT] Registered plugin creator - ::PyramidROIAlign_TRT version 1
- [TRT] Registered plugin creator - ::ResizeNearest_TRT version 1
- [TRT] Registered plugin creator - ::Split version 1
- [TRT] Registered plugin creator - ::SpecialSlice_TRT version 1
- [TRT] Registered plugin creator - ::InstanceNormalization_TRT version 1
- [TRT] detected model format - ONNX (extension '.onnx')
- [TRT] desired precision specified for GPU: FASTEST
- [TRT] requested fasted precision for device GPU without providing valid calibrator, disabling INT8
- [TRT] [MemUsageChange] Init CUDA: CPU +197, GPU +0, now: CPU 234, GPU 3795 (MiB)
- [TRT] native precisions detected for GPU: FP32, FP16
- [TRT] selecting fastest native precision for GPU: FP16
- [TRT] attempting to open engine cache file /home/arctic/Downloads/work/model/ssd-mobilenet.onnx.1.1.8001.GPU.FP16.engine
- [TRT] loading network plan from engine cache... /home/arctic/Downloads/work/model/ssd-mobilenet.onnx.1.1.8001.GPU.FP16.engine
- [TRT] device GPU, loaded /home/arctic/Downloads/work/model/ssd-mobilenet.onnx
- [TRT] [MemUsageChange] Init CUDA: CPU +0, GPU +0, now: CPU 251, GPU 3829 (MiB)
- [TRT] Loaded engine size: 16 MB
- [TRT] [MemUsageSnapshot] deserializeCudaEngine begin: CPU 251 MiB, GPU 3829 MiB
- [TRT] Using cublas a tactic source
- [TRT] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +158, GPU +29, now: CPU 410, GPU 3873 (MiB)
- [TRT] Using cuDNN as a tactic source
- [TRT] [MemUsageChange] Init cuDNN: CPU +240, GPU -142, now: CPU 650, GPU 3731 (MiB)
- [TRT] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +0, now: CPU 650, GPU 3734 (MiB)
- [TRT] Deserialization required 5259227 microseconds.
- [TRT] [MemUsageSnapshot] deserializeCudaEngine end: CPU 650 MiB, GPU 3734 MiB
- [TRT] [MemUsageSnapshot] ExecutionContext creation begin: CPU 650 MiB, GPU 3734 MiB
- [TRT] Using cublas a tactic source
- [TRT] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +0, now: CPU 650, GPU 3734 (MiB)
- [TRT] Using cuDNN as a tactic source
- [TRT] [MemUsageChange] Init cuDNN: CPU +0, GPU +0, now: CPU 650, GPU 3734 (MiB)
- [TRT] Total per-runner device memory is 14580736
- [TRT] Total per-runner host memory is 69824
- [TRT] Allocated activation device memory of size 8892416
- [TRT] [MemUsageSnapshot] ExecutionContext creation end: CPU 652 MiB, GPU 3744 MiB
- [TRT]
- [TRT] CUDA engine context initialized on device GPU:
- [TRT] -- layers 99
- [TRT] -- maxBatchSize 1
- [TRT] -- deviceMemory 8892416
- [TRT] -- bindings 3
- [TRT] binding 0
- -- index 0
- -- name 'input_0'
- -- type FP32
- -- in/out INPUT
- -- # dims 4
- -- dim #0 1
- -- dim #1 3
- -- dim #2 300
- -- dim #3 300
- [TRT] binding 1
- -- index 1
- -- name 'scores'
- -- type FP32
- -- in/out OUTPUT
- -- # dims 3
- -- dim #0 1
- -- dim #1 3000
- -- dim #2 5
- [TRT] binding 2
- -- index 2
- -- name 'boxes'
- -- type FP32
- -- in/out OUTPUT
- -- # dims 3
- -- dim #0 1
- -- dim #1 3000
- -- dim #2 4
- [TRT]
- [TRT] binding to input 0 input_0 binding index: 0
- [TRT] binding to input 0 input_0 dims (b=1 c=3 h=300 w=300) size=1080000
- [TRT] binding to output 0 scores binding index: 1
- [TRT] binding to output 0 scores dims (b=1 c=3000 h=5 w=1) size=60000
- [TRT] binding to output 1 boxes binding index: 2
- [TRT] binding to output 1 boxes dims (b=1 c=3000 h=4 w=1) size=48000
- [TRT]
- [TRT] device GPU, /home/arctic/Downloads/work/model/ssd-mobilenet.onnx initialized.
- [TRT] detectNet -- number object classes: 5
- [TRT] detectNet -- maximum bounding boxes: 3000
- [TRT] detectNet -- loaded 5 class info entries
- [TRT] detectNet -- number of object classes: 5
- (gst-plugin-scanner:7308): GLib-GObject-WARNING **: 16:10:18.108: cannot register existing type 'GstVideoAggregator'
- (gst-plugin-scanner:7308): GLib-GObject-CRITICAL **: 16:10:18.110: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
- (gst-plugin-scanner:7308): GLib-CRITICAL **: 16:10:18.110: g_once_init_leave: assertion 'result != 0' failed
- (gst-plugin-scanner:7308): GLib-GObject-CRITICAL **: 16:10:18.110: g_type_register_static: assertion 'parent_type > 0' failed
- (gst-plugin-scanner:7308): GLib-CRITICAL **: 16:10:18.110: g_once_init_leave: assertion 'result != 0' failed
- (gst-plugin-scanner:7308): GStreamer-CRITICAL **: 16:10:18.110: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
- [gstreamer] initialized gstreamer, version 1.16.3.0
- [gstreamer] gstCamera -- attempting to create device v4l2:///dev/video1
- [gstreamer] gstCamera -- found v4l2 device: Logitech HD Webcam C270
- [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;
- [gstreamer] gstCamera -- found 15 caps for v4l2 device /dev/video1
- [gstreamer] [0] video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)960, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)5/1;
- [gstreamer] [1] video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)960, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)5/1;
- [gstreamer] [2] video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)5/1;
- [gstreamer] [3] video/x-raw, format=(string)YUY2, width=(int)1024, height=(int)768, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)5/1;
- [gstreamer] [4] video/x-raw, format=(string)YUY2, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)20/1;
- [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 };
- [gstreamer] [6] video/x-raw, format=(string)YUY2, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1;
- [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 };
- [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 };
- [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 };
- [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 };
- [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 };
- [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 };
- [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 };
- [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 };
- [gstreamer] gstCamera -- selected device profile: codec=mjpeg format=unknown width=1280 height=720
- [gstreamer] gstCamera pipeline string:
- [gstreamer] v4l2src device=/dev/video1 ! image/jpeg, width=(int)1280, height=(int)720 ! jpegdec ! video/x-raw ! appsink name=mysink
- [gstreamer] gstCamera successfully created device v4l2:///dev/video1
- [video] created gstCamera from v4l2:///dev/video1
- ------------------------------------------------
- gstCamera video options:
- ------------------------------------------------
- -- URI: v4l2:///dev/video1
- - protocol: v4l2
- - location: /dev/video1
- - port: 1
- -- deviceType: v4l2
- -- ioType: input
- -- codec: mjpeg
- -- width: 1280
- -- height: 720
- -- frameRate: 30.000000
- -- bitRate: 0
- -- numBuffers: 4
- -- zeroCopy: true
- -- flipMethod: none
- -- loop: 0
- -- rtspLatency 2000
- ------------------------------------------------
- [gstreamer] opening gstCamera for streaming, transitioning pipeline to GST_STATE_PLAYING
- [New Thread 0x7f838651f0 (LWP 7416)]
- [gstreamer] gstreamer changed state from NULL to READY ==> mysink
- [gstreamer] gstreamer changed state from NULL to READY ==> capsfilter1
- [gstreamer] gstreamer changed state from NULL to READY ==> jpegdec0
- [gstreamer] gstreamer changed state from NULL to READY ==> capsfilter0
- [gstreamer] gstreamer changed state from NULL to READY ==> v4l2src0
- [gstreamer] gstreamer changed state from NULL to READY ==> pipeline0
- [gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter1
- [gstreamer] gstreamer changed state from READY to PAUSED ==> jpegdec0
- [gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter0
- [gstreamer] gstreamer stream status CREATE ==> src
- [gstreamer] gstreamer changed state from READY to PAUSED ==> v4l2src0
- [gstreamer] gstreamer changed state from READY to PAUSED ==> pipeline0
- [gstreamer] gstreamer stream status ENTER ==> src
- [gstreamer] gstreamer message new-clock ==> pipeline0
- [gstreamer] gstreamer message stream-start ==> pipeline0
- [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter1
- [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> jpegdec0
- [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter0
- [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> v4l2src0
- [gstreamer] gstCamera -- onPreroll
- [New Thread 0x7f4d0291f0 (LWP 7417)]
- [gstreamer] gstBufferManager -- map buffer size was less than max size (1382400 vs 1382407)
- [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
- [gstreamer] gstBufferManager -- recieved first frame, codec=mjpeg format=i420 width=1280 height=720 size=1382407
- RingBuffer -- allocated 4 buffers (1382407 bytes each, 5529628 bytes total)
- [gstreamer] gstreamer changed state from READY to PAUSED ==> mysink
- [gstreamer] gstreamer message async-done ==> pipeline0
- [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> mysink
- [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> pipeline0
- RingBuffer -- allocated 4 buffers (2764800 bytes each, 11059200 bytes total)
- [gstreamer] gstreamer message qos ==> v4l2src0
- [Thread 0x7f4d0291f0 (LWP 7417) exited]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement