config_yolov8njump_output.prototxt 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. cpu_backend_settings {
  2. onnx_setting {
  3. mode: DISABLED
  4. }
  5. axe_setting {
  6. mode: ENABLED
  7. axe_param {
  8. optimize_slim_model: true
  9. }
  10. }
  11. }
  12. tasks {
  13. name: "task_0"
  14. neuwizard_conf {
  15. global_conf {
  16. target_hardware: TARGET_HARDWARE_AX620
  17. }
  18. task_conf {
  19. input_path: "/root/axera/axera-quan-hjj/model/yolov8-jump.onnx"
  20. output_path: "/root/axera/axera-quan-hjj/joint/model.lava_joint"
  21. output_type: OUTPUT_TYPE_JOINT_LAVA_AXE
  22. }
  23. operator_conf {
  24. input_conf_items {
  25. selector {
  26. op_name: "images"
  27. }
  28. attributes {
  29. input_modifications {
  30. dimension_permutation_preprocess {
  31. dimensions: 0
  32. dimensions: 3
  33. dimensions: 1
  34. dimensions: 2
  35. }
  36. }
  37. }
  38. }
  39. input_conf_items {
  40. selector {
  41. }
  42. attributes {
  43. input_modifications {
  44. csc {
  45. src_cs {
  46. type: CST_NV12
  47. }
  48. dst_cs {
  49. type: CST_RGB
  50. }
  51. }
  52. }
  53. color_space {
  54. type: CST_RGB
  55. }
  56. }
  57. }
  58. input_conf_items {
  59. attributes {
  60. input_modifications {
  61. enforce_integers {
  62. }
  63. }
  64. input_modifications {
  65. affine_preprocess {
  66. slope: 1.0
  67. bias: 0.0
  68. slope_divisor: 255.0
  69. }
  70. }
  71. }
  72. }
  73. output_conf_items {
  74. selector {
  75. op_name: "346"
  76. }
  77. attributes {
  78. output_modifications {
  79. dimension_permutation_postprocess {
  80. dimensions: 0
  81. dimensions: 2
  82. dimensions: 3
  83. dimensions: 1
  84. }
  85. }
  86. }
  87. }
  88. output_conf_items {
  89. selector {
  90. op_name: "output0"
  91. }
  92. attributes {
  93. output_modifications {
  94. dimension_permutation_postprocess {
  95. dimensions: 0
  96. dimensions: 2
  97. dimensions: 3
  98. dimensions: 1
  99. }
  100. }
  101. }
  102. }
  103. output_conf_items {
  104. selector {
  105. op_name: "output1"
  106. }
  107. attributes {
  108. output_modifications {
  109. dimension_permutation_postprocess {
  110. dimensions: 0
  111. dimensions: 2
  112. dimensions: 3
  113. dimensions: 1
  114. }
  115. }
  116. }
  117. }
  118. }
  119. dataset_conf_train {
  120. dataset_conf_items {
  121. resize_conf {
  122. }
  123. }
  124. }
  125. dataset_conf_calibration {
  126. type: DATASET_TYPE_TAR
  127. size: 100
  128. batch_size: 16
  129. dataset_conf_items {
  130. path: "/root/axera/axera-quan-hjj/dataset/Jump_caliburate_dataset.tar"
  131. resize_conf {
  132. }
  133. }
  134. calibration_strategy: CALIB_STRATEGY_PER_TENSOR
  135. observer_method: OBSVR_METHOD_MSE_CLIPPING
  136. }
  137. dataset_conf_error_measurement {
  138. dataset_conf_items {
  139. resize_conf {
  140. }
  141. }
  142. }
  143. }
  144. pulsar_conf {
  145. batch_size: 1
  146. ax620_virtual_npu: AX620_VIRTUAL_NPU_MODE_111
  147. output_dir: "/root/axera/axera-quan-hjj"
  148. }
  149. input_model_items {
  150. model {
  151. path: "/root/axera/axera-quan-hjj/model/yolov8-jump.onnx"
  152. type: MODEL_TYPE_ONNX
  153. input_tensors {
  154. color_space: TENSOR_COLOR_SPACE_RGB
  155. }
  156. }
  157. }
  158. output_model_items {
  159. model {
  160. path: "/root/axera/axera-quan-hjj/joint/yolov8n-jump.joint"
  161. type: MODEL_TYPE_JOINT
  162. input_tensors {
  163. color_space: TENSOR_COLOR_SPACE_NV12
  164. }
  165. output_tensors {
  166. tensor_layout: NHWC
  167. }
  168. }
  169. }
  170. target_hardware: TARGET_HARDWARE_AX620
  171. cpu_backend_settings {
  172. onnx_setting {
  173. mode: DISABLED
  174. }
  175. axe_setting {
  176. mode: ENABLED
  177. axe_param {
  178. optimize_slim_model: true
  179. }
  180. }
  181. }
  182. cpu_affine_json {
  183. mode: PATH_MODE_ABS
  184. }
  185. }
  186. input_task_names: "task_0"
  187. output_task_names: "task_0"