NVIDIA-AI-IOT / jetson-cloudnative-demo

Multi-container demo for Jetson Xavier NX and Jetson AGX Xavier
MIT License
187 stars 45 forks source link

Gaze demo failed with error messages #6

Open joshhu opened 3 years ago

joshhu commented 3 years ago

Xavier NX board with Jetpack L4T 32.4.4

sudo docker run --runtime nvidia -it --rm --network host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/jetson-gaze:r32.4.2 python3 run_gaze_sequential.py /videos/gaze_video.mp4 --loop --codec=h264

caused the following error messages:

(python3:1): GStreamer-CRITICAL **: 02:47:52.641: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed

(python3:1): GStreamer-CRITICAL **: 02:47:52.641: gst_caps_truncate: assertion 'GST_IS_CAPS (caps)' failed

(python3:1): GStreamer-CRITICAL **: 02:47:52.641: gst_caps_fixate: assertion 'GST_IS_CAPS (caps)' failed

(python3:1): GStreamer-CRITICAL **: 02:47:52.641: gst_caps_get_structure: assertion 'GST_IS_CAPS (caps)' failed

(python3:1): GStreamer-CRITICAL **: 02:47:52.641: gst_structure_get_string: assertion 'structure != NULL' failed

(python3:1): GStreamer-CRITICAL **: 02:47:52.642: gst_mini_object_unref: assertion 'mini_object != NULL' failed
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
Allocating new output: 960x544 (x 11), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3605: Send OMX_EventPortSettingsChanged: nFrameWidth = 960, nFrameHeight = 540 
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (896) open OpenCV | GStreamer warning: unable to query duration of stream
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (933) open OpenCV | GStreamer warning: Cannot query video position: status=1, value=1, duration=-1

Using winsys: x11 
coreReadArchive.cpp (38) - Serialization Error in verifyHeader: 0 (Version tag does not match)
INVALID_STATE: std::exception
INVALID_CONFIG: Deserialize the cuda engine failed.
Assertion fail in file 'trtNet.cpp' line 146: _engine is null
terminate called after throwing an instance of 'std::exception'
  what():  std::exception

1TTT9 commented 3 years ago

same problem here, have you solved it or anyone can help?

petermoser commented 3 years ago

Same configuration and same error message here too. Please let us know if you know of any solutions/workarounds.