Unknown or legacy key specified

Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU): Jetson
• DeepStream Version: 6.2
• JetPack Version (valid for Jetson only): 5.1.1-b56
• TensorRT Version: 8.5.2.2
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs): question

My model_config text file looks like this.

[property]
gpu-id=0
net-scale-factor=0.0039215697906911373
#0=RGB, 1=BGR
model-color-format=0
custom-network-config=…/…/…/rtsp_restreamer/yolov3/yolov3.cfg
model-file=…/…/…/rtsp_restreamer/yolov3/yolov3.weights
model-engine-file=…/…/…/rtsp_restreamer/yolov3/model_b1_gpu0_int8.engine
labelfile-path=…/…/…/rtsp_restreamer/yolov3/labels.txt
int8-calib-file=…/…/…/rtsp_restreamer/yolov3/yolov3-calibration.table.trt7.0
batch-size=1
network-mode=1
num-detected-classes=80
interval=2
gie-unique-id=1
network-type=0
is-classifier=0
cluster-mode=2
filter-out-class-ids=4;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50;51;52;53;54;55;56;57;58;59;60;61;62;63;64;65;66;67;68;69;70;71;72;73;74;75;76;77;78;79
maintain-aspect-ratio=1
parse-bbox-func-name=NvDsInferParseCustomYoloV3
#parse-bbox-func-name=NvDsInferParseCustomYoloV3_cuda
custom-lib-path=…/…/…/rtsp_restreamer/yolov3/libnvdsinfer_custom_impl_Yolo.so
engine-create-func-name=NvDsInferYoloCudaEngineGet
#scaling-filter=0
#scaling-compute-hw=0
disable-output-host-copy=0

[class-attrs-all]
nms-iou-threshold=0.3
threshold=0.4

I’m getting these kinds of warning messages when running deepstream.

  • Unknown or legacy key specified ‘is-classifier’ for group [property]
  • Unknown or legacy key specified ‘disable-output-host-copy’ for group [property]
  • (inference_pipeline:2665032): GLib-GObject-WARNING **: 09:32:13.481: value “((GstX264EncPreset) -823516744)” of type ‘GstX264EncPreset’ is invalid or out of range for property ‘speed-preset’ of type ‘GstX264EncPreset’
  • (inference_pipeline:2665016): GStreamer-CRITICAL **: 09:32:13.050: gst_object_unref: assertion ‘object != NULL’ failed

how to fix these types of issues?

These issues are not related to the configuration file above. Which sample are you using?

Are you using deepstream-app? Can you share the configuration file?

this is a customized app not any sample apps.

And this is really the config file of that customized pipeline.
Here in the warnings, it says about “is-classifier” and “disable-output-host-copy” values and those are also in config file.

This attribute has been deprecated, please replace with network-type=1 .

This is a bug that has been fixed in the DS-6.4 version. It is useless to yolov3 and can be deleted.

This x264 attribute configuration is wrong and has nothing to do with Deepstream

This is related to your code

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.