Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

color format error #4

Open
shubham-shahh opened this issue Feb 10, 2021 · 2 comments
Open

color format error #4

shubham-shahh opened this issue Feb 10, 2021 · 2 comments

Comments

@shubham-shahh
Copy link

hello,
I have generated the plan file, but when I run the app i get following error

`Creating Source

Creating H264Parser

Creating Decoder

Creating EGLSink

Playing file file:///opt/nvidia/deepstream/deepstream-5.0/sources/deepstream_python_apps/apps/deepstream-imagedata-multistream/vidss/faces1.mp4
Adding elements to Pipeline

Linking elements in the Pipeline

Starting pipeline

Using winsys: x11
Opening in BLOCKING MODE
0:00:09.672409736 15961 0x24ebb300 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 2]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1701> [UID = 2]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-5.0/sources/deepstream_python_apps/apps/deepstream-facenet/models/facenet_engine.plan
INFO: [Implicit Engine Info]: layers num: 2
0 INPUT kFLOAT input_1:0 160x160x3
1 OUTPUT kFLOAT Bottleneck_BatchNorm/batchnorm_1/add_1:0 128

0:00:09.672614476 15961 0x24ebb300 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 2]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1805> [UID = 2]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-5.0/sources/deepstream_python_apps/apps/deepstream-facenet/models/facenet_engine.plan
0:00:09.672660153 15961 0x24ebb300 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 2]: Error in NvDsInferContextImpl::preparePreprocess() <nvdsinfer_context_impl.cpp:874> [UID = 2]: RGB/BGR input format specified but network input channels is not 3
ERROR: Infer Context prepare preprocessing resource failed., nvinfer error:NVDSINFER_CONFIG_FAILED
0:00:09.744152965 15961 0x24ebb300 WARN nvinfer gstnvinfer.cpp:809:gst_nvinfer_start: error: Failed to create NvDsInferContext instance
0:00:09.744235101 15961 0x24ebb300 WARN nvinfer gstnvinfer.cpp:809:gst_nvinfer_start: error: Config file path: dstest2_sgie1_config.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
Error: gst-resource-error-quark: Failed to create NvDsInferContext instance (1): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(809): gst_nvinfer_start (): /GstPipeline:pipeline0/GstNvInfer:secondary1-nvinference-engine:
Config file path: dstest2_sgie1_config.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
`

@ArivCR7
Copy link

ArivCR7 commented Feb 25, 2022

Hi @shubham-shahh, I encounter the exact issue. Were you able to fix this?

@shubham-shahh
Copy link
Author

follow this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants