stanleygrape / stanleyz

0 stars 0 forks source link

Question #1

Open stanleygrape opened 3 years ago

stanleygrape commented 3 years ago

stanleyz@stanleyz-desktop:/opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app$ deepstream-app -c config_infer_primary.txt ** ERROR: : Failed to set pipeline to PAUSED Quitting ERROR from src_bin_muxer: Output width not set Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmultistream/gstnvstreammux.c(2512): gst_nvstreammux_change_state (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstNvStreamMux:src_bin_muxer App run failed

stanleygrape commented 3 years ago

stanleyz@stanleyz-desktop:/opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app$ sudo deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt [sudo] password for stanleyz:

Using winsys: x11 ERROR: Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app/../../models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine open error 0:00:04.848287169 9389 0xde91720 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger: NvDsInferContext[UID 6]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() [UID = 6]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app/../../models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine failed 0:00:04.848456705 9389 0xde91720 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger: NvDsInferContext[UID 6]: Warning from NvDsInferContextImpl::generateBackendContext() [UID = 6]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app/../../models/Secondary_CarMake/resnet18.caffemodel_b16_gpu0_int8.engine failed, try rebuild 0:00:04.848501473 9389 0xde91720 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 6]: Info from NvDsInferContextImpl::buildModel() [UID = 6]: Trying to create engine from model files Warning: Flatten layer ignored. TensorRT implicitly flattens input to FullyConnected layers, but in other circumstances this will result in undefined behavior. INFO: [TRT]: Reading Calibration Cache for calibrator: EntropyCalibration2 INFO: [TRT]: Generated calibration scales using calibration cache. Make sure that calibration cache has latest scales. INFO: [TRT]: To regenerate calibration cache, please delete the existing one. TensorRT will generate a new calibration cache. INFO: [TRT]: INFO: [TRT]: --------------- Layers running on DLA: INFO: [TRT]: INFO: [TRT]: --------------- Layers running on GPU: INFO: [TRT]: conv1 + activation_1/Relu, block_1a_conv_1 + activation_2/Relu, block_1a_conv_2, block_1a_conv_shortcut + add_1 + activation_3/Relu, block_1b_conv_1 + activation_4/Relu, block_1b_conv_2, block_1b_conv_shortcut + add_2 + activation_5/Relu, block_2a_conv_1 + activation_6/Relu, block_2a_conv_2, block_2a_conv_shortcut + add_3 + activation_7/Relu, block_2b_conv_1 + activation_8/Relu, block_2b_conv_2, block_2b_conv_shortcut + add_4 + activation_9/Relu, block_3a_conv_1 + activation_10/Relu, block_3a_conv_2, block_3a_conv_shortcut + add_5 + activation_11/Relu, block_3b_conv_1 + activation_12/Relu, block_3b_conv_2, block_3b_conv_shortcut + add_6 + activation_13/Relu, block_4a_conv_1 + activation_14/Relu, block_4a_conv_2, block_4a_conv_shortcut + add_7 + activation_15/Relu, block_4b_conv_1 + activation_16/Relu, block_4b_conv_2, block_4b_conv_shortcut + add_8 + activation_17/Relu, average_pooling2d_1, predictions, predictions/Softmax, INFO: [TRT]: Detected 1 inputs and 1 output network tensors. 0:00:33.791600177 9389 0xde91720 INFO

stanleygrape commented 3 years ago

root@stanleyz-desktop:/home/stanleyz/Downloads# sudo apt install ./sdkmanager_1.7.0-8846_amd64.deb Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'sdkmanager:amd64' instead of './sdkmanager_1.7.0-8846_amd64.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: sdkmanager:amd64 : Depends: libgconf-2-4:amd64 but it is not installable Depends: libcanberra-gtk-module:amd64 but it is not installable Depends: locales:amd64 but it is not installable E: Unable to correct problems, you have held broken packages.