models.yml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. %YAML 1.0
  2. ---
  3. ################################################################################
  4. # Object detection models.
  5. ################################################################################
  6. # OpenCV's face detection network
  7. opencv_fd:
  8. load_info:
  9. url: "https://github.com/opencv/opencv_3rdparty/raw/dnn_samples_face_detector_20170830/res10_300x300_ssd_iter_140000.caffemodel"
  10. sha1: "15aa726b4d46d9f023526d85537db81cbc8dd566"
  11. model: "opencv_face_detector.caffemodel"
  12. config: "opencv_face_detector.prototxt"
  13. mean: [104, 177, 123]
  14. scale: 1.0
  15. width: 300
  16. height: 300
  17. rgb: false
  18. sample: "object_detection"
  19. # YOLOv8 object detection family from ultralytics (https://github.com/ultralytics/ultralytics)
  20. # Might be used for all YOLOv8n YOLOv8s YOLOv8m YOLOv8l and YOLOv8x
  21. yolov8x:
  22. load_info:
  23. url: "https://huggingface.co/cabelo/yolov8/resolve/main/yolov8x.onnx?download=true"
  24. sha1: "462f15d668c046d38e27d3df01fe8142dd004cb4"
  25. model: "yolov8x.onnx"
  26. mean: 0.0
  27. scale: 0.00392
  28. width: 640
  29. height: 640
  30. rgb: true
  31. classes: "object_detection_classes_yolo.txt"
  32. background_label_id: 0
  33. sample: "yolo_detector"
  34. yolov8s:
  35. load_info:
  36. url: "https://github.com/CVHub520/X-AnyLabeling/releases/download/v0.1.0/yolov8s.onnx"
  37. sha1: "82cd83984396fe929909ecb58212b0e86d0904b1"
  38. model: "yolov8s.onnx"
  39. mean: 0.0
  40. scale: 0.00392
  41. width: 640
  42. height: 640
  43. rgb: true
  44. classes: "object_detection_classes_yolo.txt"
  45. background_label_id: 0
  46. sample: "yolo_detector"
  47. yolov8n:
  48. load_info:
  49. url: "https://github.com/CVHub520/X-AnyLabeling/releases/download/v0.1.0/yolov8n.onnx"
  50. sha1: "68f864475d06e2ec4037181052739f268eeac38d"
  51. model: "yolov8n.onnx"
  52. mean: 0.0
  53. scale: 0.00392
  54. width: 640
  55. height: 640
  56. rgb: true
  57. classes: "object_detection_classes_yolo.txt"
  58. background_label_id: 0
  59. sample: "yolo_detector"
  60. yolov8m:
  61. load_info:
  62. url: "https://github.com/CVHub520/X-AnyLabeling/releases/download/v0.1.0/yolov8m.onnx"
  63. sha1: "656ffeb4f3b067bc30df956728b5f9c61a4cb090"
  64. model: "yolov8m.onnx"
  65. mean: 0.0
  66. scale: 0.00392
  67. width: 640
  68. height: 640
  69. rgb: true
  70. classes: "object_detection_classes_yolo.txt"
  71. background_label_id: 0
  72. sample: "yolo_detector"
  73. yolov8l:
  74. load_info:
  75. url: "https://github.com/CVHub520/X-AnyLabeling/releases/download/v0.1.0/yolov8l.onnx"
  76. sha1: "462df53ca3a85d110bf6be7fc2e2bb1277124395"
  77. model: "yolov8l.onnx"
  78. mean: 0.0
  79. scale: 0.00392
  80. width: 640
  81. height: 640
  82. rgb: true
  83. classes: "object_detection_classes_yolo.txt"
  84. background_label_id: 0
  85. sample: "yolo_detector"
  86. # YOLOv5 object detection family from ultralytics (https://github.com/ultralytics/ultralytics)
  87. # Might be used for all YOLOv5n YOLOv5s YOLOv5m YOLOv5l and YOLOv5x
  88. yolov5l:
  89. load_info:
  90. url: "https://github.com/CVHub520/X-AnyLabeling/releases/download/v0.1.0/yolov5l.onnx"
  91. sha1: "9de7e54c524b7fe7577bbd4cdbbdaed53375c8f1"
  92. model: "yolov5l.onnx"
  93. mean: 0.0
  94. scale: 0.00392
  95. width: 640
  96. height: 640
  97. rgb: true
  98. classes: "object_detection_classes_yolo.txt"
  99. background_label_id: 0
  100. sample: "yolo_detector"
  101. # YOLO4 object detection family from Darknet (https://github.com/AlexeyAB/darknet)
  102. # YOLO object detection family from Darknet (https://pjreddie.com/darknet/yolo/)
  103. # Might be used for all YOLOv2, TinyYolov2, YOLOv3, YOLOv4 and TinyYolov4
  104. yolov4:
  105. load_info:
  106. url: "https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v3_optimal/yolov4.weights"
  107. sha1: "0143deb6c46fcc7f74dd35bf3c14edc3784e99ee"
  108. model: "yolov4.weights"
  109. config: "yolov4.cfg"
  110. mean: [0, 0, 0]
  111. scale: 0.00392
  112. width: 416
  113. height: 416
  114. rgb: true
  115. classes: "object_detection_classes_yolo.txt"
  116. background_label_id: 0
  117. sample: "object_detection"
  118. yolov4-tiny:
  119. load_info:
  120. url: "https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v4_pre/yolov4-tiny.weights"
  121. sha1: "451caaab22fb9831aa1a5ee9b5ba74a35ffa5dcb"
  122. model: "yolov4-tiny.weights"
  123. config: "yolov4-tiny.cfg"
  124. mean: [0, 0, 0]
  125. scale: 0.00392
  126. width: 416
  127. height: 416
  128. rgb: true
  129. classes: "object_detection_classes_yolo.txt"
  130. background_label_id: 0
  131. sample: "object_detection"
  132. yolov3:
  133. load_info:
  134. url: "https://pjreddie.com/media/files/yolov3.weights"
  135. sha1: "520878f12e97cf820529daea502acca380f1cb8e"
  136. model: "yolov3.weights"
  137. config: "yolov3.cfg"
  138. mean: [0, 0, 0]
  139. scale: 0.00392
  140. width: 416
  141. height: 416
  142. rgb: true
  143. classes: "object_detection_classes_yolo.txt"
  144. background_label_id: 0
  145. sample: "object_detection"
  146. tiny-yolo-voc:
  147. load_info:
  148. url: "https://pjreddie.com/media/files/yolov2-tiny-voc.weights"
  149. sha1: "24b4bd049fc4fa5f5e95f684a8967e65c625dff9"
  150. model: "tiny-yolo-voc.weights"
  151. config: "tiny-yolo-voc.cfg"
  152. mean: [0, 0, 0]
  153. scale: 0.00392
  154. width: 416
  155. height: 416
  156. rgb: true
  157. classes: "object_detection_classes_pascal_voc.txt"
  158. background_label_id: 0
  159. sample: "object_detection"
  160. yolov8:
  161. load_info:
  162. url: "https://github.com/CVHub520/X-AnyLabeling/releases/download/v0.1.0/yolov8n.onnx"
  163. sha1: "68f864475d06e2ec4037181052739f268eeac38d"
  164. model: "yolov8n.onnx"
  165. mean: [0, 0, 0]
  166. scale: 0.00392
  167. width: 640
  168. height: 640
  169. rgb: true
  170. postprocessing: "yolov8"
  171. classes: "object_detection_classes_yolo.txt"
  172. sample: "object_detection"
  173. # Caffe implementation of SSD model from https://github.com/chuanqi305/MobileNet-SSD
  174. ssd_caffe:
  175. load_info:
  176. url: "https://drive.google.com/uc?export=download&id=0B3gersZ2cHIxRm5PMWRoTkdHdHc"
  177. sha1: "994d30a8afaa9e754d17d2373b2d62a7dfbaaf7a"
  178. model: "MobileNetSSD_deploy.caffemodel"
  179. config: "MobileNetSSD_deploy.prototxt"
  180. mean: [127.5, 127.5, 127.5]
  181. scale: 0.007843
  182. width: 300
  183. height: 300
  184. rgb: false
  185. classes: "object_detection_classes_pascal_voc.txt"
  186. sample: "object_detection"
  187. # TensorFlow implementation of SSD model from https://github.com/tensorflow/models/tree/master/research/object_detection
  188. ssd_tf:
  189. load_info:
  190. url: "http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_coco_2017_11_17.tar.gz"
  191. sha1: "9e4bcdd98f4c6572747679e4ce570de4f03a70e2"
  192. download_sha: "6157ddb6da55db2da89dd561eceb7f944928e317"
  193. download_name: "ssd_mobilenet_v1_coco_2017_11_17.tar.gz"
  194. member: "ssd_mobilenet_v1_coco_2017_11_17/frozen_inference_graph.pb"
  195. model: "ssd_mobilenet_v1_coco_2017_11_17.pb"
  196. config: "ssd_mobilenet_v1_coco_2017_11_17.pbtxt"
  197. mean: [0, 0, 0]
  198. scale: 1.0
  199. width: 300
  200. height: 300
  201. rgb: true
  202. classes: "object_detection_classes_coco.txt"
  203. sample: "object_detection"
  204. # TensorFlow implementation of Faster-RCNN model from https://github.com/tensorflow/models/tree/master/research/object_detection
  205. faster_rcnn_tf:
  206. load_info:
  207. url: "http://download.tensorflow.org/models/object_detection/faster_rcnn_inception_v2_coco_2018_01_28.tar.gz"
  208. sha1: "f2e4bf386b9bb3e25ddfcbbd382c20f417e444f3"
  209. download_sha: "c710f25e5c6a3ce85fe793d5bf266d581ab1c230"
  210. download_name: "faster_rcnn_inception_v2_coco_2018_01_28.tar.gz"
  211. member: "faster_rcnn_inception_v2_coco_2018_01_28/frozen_inference_graph.pb"
  212. model: "faster_rcnn_inception_v2_coco_2018_01_28.pb"
  213. config: "faster_rcnn_inception_v2_coco_2018_01_28.pbtxt"
  214. mean: [0, 0, 0]
  215. scale: 1.0
  216. width: 800
  217. height: 600
  218. rgb: true
  219. sample: "object_detection"
  220. ################################################################################
  221. # Image classification models.
  222. ################################################################################
  223. # SqueezeNet v1.1 from https://github.com/DeepScale/SqueezeNet
  224. squeezenet:
  225. load_info:
  226. url: "https://raw.githubusercontent.com/DeepScale/SqueezeNet/b5c3f1a23713c8b3fd7b801d229f6b04c64374a5/SqueezeNet_v1.1/squeezenet_v1.1.caffemodel"
  227. sha1: "3397f026368a45ae236403ccc81cfcbe8ebe1bd0"
  228. model: "squeezenet_v1.1.caffemodel"
  229. config: "squeezenet_v1.1.prototxt"
  230. mean: [0, 0, 0]
  231. scale: 1.0
  232. width: 227
  233. height: 227
  234. rgb: false
  235. classes: "classification_classes_ILSVRC2012.txt"
  236. sample: "classification"
  237. # Googlenet from https://github.com/BVLC/caffe/tree/master/models/bvlc_googlenet
  238. googlenet:
  239. load_info:
  240. url: "http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel"
  241. sha1: "405fc5acd08a3bb12de8ee5e23a96bec22f08204"
  242. model: "bvlc_googlenet.caffemodel"
  243. config: "bvlc_googlenet.prototxt"
  244. mean: [104, 117, 123]
  245. scale: 1.0
  246. width: 224
  247. height: 224
  248. rgb: false
  249. classes: "classification_classes_ILSVRC2012.txt"
  250. sample: "classification"
  251. ################################################################################
  252. # Semantic segmentation models.
  253. ################################################################################
  254. # ENet road scene segmentation network from https://github.com/e-lab/ENet-training
  255. # Works fine for different input sizes.
  256. enet:
  257. load_info:
  258. url: "https://www.dropbox.com/s/tdde0mawbi5dugq/Enet-model-best.net?dl=1"
  259. sha1: "b4123a73bf464b9ebe9cfc4ab9c2d5c72b161315"
  260. model: "Enet-model-best.net"
  261. mean: [0, 0, 0]
  262. scale: 0.00392
  263. width: 512
  264. height: 256
  265. rgb: true
  266. classes: "enet-classes.txt"
  267. sample: "segmentation"
  268. fcn8s:
  269. load_info:
  270. url: "http://dl.caffe.berkeleyvision.org/fcn8s-heavy-pascal.caffemodel"
  271. sha1: "c449ea74dd7d83751d1357d6a8c323fcf4038962"
  272. model: "fcn8s-heavy-pascal.caffemodel"
  273. config: "fcn8s-heavy-pascal.prototxt"
  274. mean: [0, 0, 0]
  275. scale: 1.0
  276. width: 500
  277. height: 500
  278. rgb: false
  279. sample: "segmentation"
  280. fcnresnet101:
  281. load_info:
  282. url: "https://github.com/onnx/models/raw/fb8271d5d5d9b90dbb1eb5e8e40f8f580fb248b3/vision/object_detection_segmentation/fcn/model/fcn-resnet101-11.onnx"
  283. sha1: "e7e76474bf6b73334ab32c4be1374c9e605f5aed"
  284. model: "fcn-resnet101-11.onnx"
  285. mean: [103.5, 116.2, 123.6]
  286. scale: 0.019
  287. width: 500
  288. height: 500
  289. rgb: false
  290. sample: "segmentation"