Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/models/hub/yolov5-p2.yaml
Views: 475
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license12# Parameters3nc: 80 # number of classes4depth_multiple: 1.0 # model depth multiple5width_multiple: 1.0 # layer channel multiple6anchors: 3 # auto-anchor evolves 3 anchors per P output layer78# YOLOv5 v6.0 backbone9backbone:10# [from, number, module, args]11[[-1, 1, Conv, [64, 6, 2, 2]], # 0-P1/212[-1, 1, Conv, [128, 3, 2]], # 1-P2/413[-1, 3, C3, [128]],14[-1, 1, Conv, [256, 3, 2]], # 3-P3/815[-1, 6, C3, [256]],16[-1, 1, Conv, [512, 3, 2]], # 5-P4/1617[-1, 9, C3, [512]],18[-1, 1, Conv, [1024, 3, 2]], # 7-P5/3219[-1, 3, C3, [1024]],20[-1, 1, SPPF, [1024, 5]], # 921]2223# YOLOv5 v6.0 head24head:25[[-1, 1, Conv, [512, 1, 1]],26[-1, 1, nn.Upsample, [None, 2, 'nearest']],27[[-1, 6], 1, Concat, [1]], # cat backbone P428[-1, 3, C3, [512, False]], # 132930[-1, 1, Conv, [256, 1, 1]],31[-1, 1, nn.Upsample, [None, 2, 'nearest']],32[[-1, 4], 1, Concat, [1]], # cat backbone P333[-1, 3, C3, [256, False]], # 17 (P3/8-small)3435[-1, 1, Conv, [128, 1, 1]],36[-1, 1, nn.Upsample, [None, 2, 'nearest']],37[[-1, 2], 1, Concat, [1]], # cat backbone P238[-1, 1, C3, [128, False]], # 21 (P2/4-xsmall)3940[-1, 1, Conv, [128, 3, 2]],41[[-1, 18], 1, Concat, [1]], # cat head P342[-1, 3, C3, [256, False]], # 24 (P3/8-small)4344[-1, 1, Conv, [256, 3, 2]],45[[-1, 14], 1, Concat, [1]], # cat head P446[-1, 3, C3, [512, False]], # 27 (P4/16-medium)4748[-1, 1, Conv, [512, 3, 2]],49[[-1, 10], 1, Concat, [1]], # cat head P550[-1, 3, C3, [1024, False]], # 30 (P5/32-large)5152[[21, 24, 27, 30], 1, Detect, [nc, anchors]], # Detect(P2, P3, P4, P5)53]545556