inference.yml 762 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Global:
  2. model_name: PP-LCNet_x1_0_table_cls
  3. Hpi:
  4. backend_configs:
  5. paddle_infer:
  6. trt_dynamic_shapes: &id001
  7. x:
  8. - - 1
  9. - 3
  10. - 224
  11. - 224
  12. - - 1
  13. - 3
  14. - 224
  15. - 224
  16. - - 8
  17. - 3
  18. - 224
  19. - 224
  20. tensorrt:
  21. dynamic_shapes: *id001
  22. PreProcess:
  23. transform_ops:
  24. - ResizeImage:
  25. resize_short: 256
  26. - CropImage:
  27. size: 224
  28. - NormalizeImage:
  29. channel_num: 3
  30. mean:
  31. - 0.485
  32. - 0.456
  33. - 0.406
  34. order: ''
  35. scale: 0.00392156862745098
  36. std:
  37. - 0.229
  38. - 0.224
  39. - 0.225
  40. - ToCHWImage: null
  41. PostProcess:
  42. Topk:
  43. topk: 5
  44. label_list:
  45. - wired_table
  46. - wireless_table