dusty-nv / ros_deep_learning

Deep learning inference nodes for ROS / ROS2 with support for NVIDIA Jetson and TensorRT
887 stars 258 forks source link

segNet -- failed to load error #44

Closed ghost closed 4 years ago

ghost commented 4 years ago

roslaunch ros_deep_learning segnet.ros1.launch input_width:=640 input_height:=480 input:=/dev/video0


[ERROR] [1597129109.498712554]: failed to capture next frame [gstreamer] gstCamera -- onPreroll [gstreamer] gstCamera recieve caps: video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)33/1, colorimetry=(string)bt601, interlace-mode=(string)progressive [gstreamer] gstCamera -- recieved first frame, codec=raw format=yuyv width=640 height=480 size=614400 RingBuffer -- allocated 4 buffers (614400 bytes each, 2457600 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 (921600 bytes each, 3686400 bytes total) [ INFO] [1597129109.738371590]: allocated CUDA memory for 640x480 image conversion [TRT] native precisions detected for GPU: FP32, FP16 [TRT] selecting fastest native precision for GPU: FP16 [TRT] attempting to open engine cache file .1.1.7103.GPU.FP16.engine [TRT] cache file not found, profiling network model on device GPU

error: model file 'networks/FCN-ResNet18-Cityscapes-1024x512/fcn_resnet18.onnx' was not found. if loading a built-in model, maybe it wasn't downloaded before.

    Run the Model Downloader tool again and select it for download:

       $ cd <jetson-inference>/tools
       $ ./download-models.sh

[TRT] segNet -- failed to load. [ERROR] [1597129113.435617192]: failed to load segNet model


I already installed default seg model, what is the problem? I am predicting becauseof TRT. The reason why I think "that is cache file not found".

Is there anyone suffered like this?