dstest2_pgie_config.txt 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. ################################################################################
  2. # Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
  3. #
  4. # Permission is hereby granted, free of charge, to any person obtaining a
  5. # copy of this software and associated documentation files (the "Software"),
  6. # to deal in the Software without restriction, including without limitation
  7. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  8. # and/or sell copies of the Software, and to permit persons to whom the
  9. # Software is furnished to do so, subject to the following conditions:
  10. #
  11. # The above copyright notice and this permission notice shall be included in
  12. # all copies or substantial portions of the Software.
  13. #
  14. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  17. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  20. # DEALINGS IN THE SOFTWARE.
  21. ################################################################################
  22. # Following properties are mandatory when engine files are not specified:
  23. # int8-calib-file(Only in INT8)
  24. # Caffemodel mandatory properties: model-file, proto-file, output-blob-names
  25. # UFF: uff-file, input-dims, uff-input-blob-name, output-blob-names
  26. # ONNX: onnx-file
  27. #
  28. # Mandatory properties for detectors:
  29. # num-detected-classes
  30. #
  31. # Optional properties for detectors:
  32. # cluster-mode(Default=Group Rectangles), interval(Primary mode only, Default=0)
  33. # custom-lib-path,
  34. # parse-bbox-func-name
  35. #
  36. # Mandatory properties for classifiers:
  37. # classifier-threshold, is-classifier
  38. #
  39. # Optional properties for classifiers:
  40. # classifier-async-mode(Secondary mode only, Default=false)
  41. #
  42. # Optional properties in secondary mode:
  43. # operate-on-gie-id(Default=0), operate-on-class-ids(Defaults to all classes),
  44. # input-object-min-width, input-object-min-height, input-object-max-width,
  45. # input-object-max-height
  46. #
  47. # Following properties are always recommended:
  48. # batch-size(Default=1)
  49. #
  50. # Other optional properties:
  51. # net-scale-factor(Default=1), network-mode(Default=0 i.e FP32),
  52. # model-color-format(Default=0 i.e. RGB) model-engine-file, labelfile-path,
  53. # mean-file, gie-unique-id(Default=0), offsets, process-mode (Default=1 i.e. primary),
  54. # custom-lib-path, network-mode(Default=0 i.e FP32)
  55. #
  56. # The values in the config file are overridden by values set through GObject
  57. # properties.
  58. [property]
  59. gpu-id=0
  60. net-scale-factor=0.0039215697906911373
  61. model-file=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Primary_Detector/resnet10.caffemodel
  62. proto-file=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Primary_Detector/resnet10.prototxt
  63. #model-engine-file=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_fp32.engine
  64. labelfile-path=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Primary_Detector/labels.txt
  65. int8-calib-file=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Primary_Detector/cal_trt.bin
  66. force-implicit-batch-dim=1
  67. batch-size=1
  68. network-mode=1
  69. process-mode=1
  70. model-color-format=0
  71. num-detected-classes=4
  72. interval=0
  73. gie-unique-id=1
  74. output-blob-names=conv2d_bbox;conv2d_cov/Sigmoid
  75. [class-attrs-all]
  76. pre-cluster-threshold=0.2
  77. eps=0.2
  78. group-threshold=1