dstest4_sgie3_config.txt 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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=1
  61. model-file=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_VehicleTypes/resnet18.caffemodel
  62. proto-file=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_VehicleTypes/resnet18.prototxt
  63. #model-engine-file=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_gpu0_fp32.engine
  64. mean-file=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_VehicleTypes/mean.ppm
  65. labelfile-path=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_VehicleTypes/labels.txt
  66. int8-calib-file=/opt/nvidia/deepstream/deepstream-5.0/samples/models/Secondary_VehicleTypes/cal_trt.bin
  67. force-implicit-batch-dim=1
  68. batch-size=16
  69. # 0=FP32 and 1=INT8 mode
  70. network-mode=1
  71. input-object-min-width=64
  72. input-object-min-height=64
  73. model-color-format=1
  74. process-mode=2
  75. gpu-id=0
  76. gie-unique-id=4
  77. operate-on-gie-id=1
  78. operate-on-class-ids=0
  79. is-classifier=1
  80. output-blob-names=predictions/Softmax
  81. classifier-async-mode=1
  82. classifier-threshold=0.51
  83. process-mode=2
  84. #scaling-filter=0
  85. #scaling-compute-hw=0