utils.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. STATIC_SHAPE_MODEL_LIST = [
  15. "CenterNet-DLA-34",
  16. "CenterNet-ResNet50",
  17. "Co-Deformable-DETR-Swin-T",
  18. "Co-DINO-Swin-L",
  19. "FasterRCNN-Swin-Tiny-FPN",
  20. "Mask-RT-DETR-H",
  21. "Mask-RT-DETR-L",
  22. "Mask-RT-DETR-M",
  23. "Mask-RT-DETR-S",
  24. "Mask-RT-DETR-X",
  25. "PicoDet_layout_1x_table",
  26. "PicoDet_layout_1x",
  27. "PicoDet-L_layout_17cls",
  28. "PicoDet-L_layout_3cls",
  29. "PicoDet-L",
  30. "PicoDet-M",
  31. "PicoDet-S_layout_17cls",
  32. "PicoDet-S_layout_3cls",
  33. "PicoDet-S",
  34. "PicoDet-XS",
  35. "PP-ShiTuV2_det",
  36. "PP-YOLOE-L_human",
  37. "PP-YOLOE-L_vehicle",
  38. "PP-YOLOE_plus-L",
  39. "PP-YOLOE_plus-M",
  40. "PP-YOLOE_plus_SOD-largesize-L",
  41. "PP-YOLOE_plus_SOD-L",
  42. "PP-YOLOE_plus_SOD-S",
  43. "PP-YOLOE_plus-S",
  44. "PP-YOLOE_plus-X",
  45. "PP-YOLOE_seg-S",
  46. "PP-YOLOE-S_human",
  47. "PP-YOLOE-S_vehicle",
  48. "RT-DETR-H_layout_17cls",
  49. "RT-DETR-H_layout_3cls",
  50. "RT-DETR-H",
  51. "RT-DETR-L",
  52. "RT-DETR-R18",
  53. "RT-DETR-R50",
  54. "RT-DETR-X",
  55. "YOLOv3-DarkNet53",
  56. "YOLOv3-MobileNetV3",
  57. "YOLOv3-ResNet50_vd_DCN",
  58. "YOLOX-L",
  59. "YOLOX-M",
  60. "YOLOX-N",
  61. "YOLOX-S",
  62. "YOLOX-T",
  63. "YOLOX-X",
  64. "PP-DocLayout-L",
  65. "PP-DocLayout-M",
  66. "PP-DocLayout-S",
  67. "PP-DocLayout_plus-L",
  68. "PP-DocBlockLayout",
  69. "PP-DocLayoutV2",
  70. ]