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-p7.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 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, [768, 3, 2]], # 7-P5/3219[-1, 3, C3, [768]],20[-1, 1, Conv, [1024, 3, 2]], # 9-P6/6421[-1, 3, C3, [1024]],22[-1, 1, Conv, [1280, 3, 2]], # 11-P7/12823[-1, 3, C3, [1280]],24[-1, 1, SPPF, [1280, 5]], # 1325]2627# YOLOv5 head28head:29[[-1, 1, Conv, [1024, 1, 1]],30[-1, 1, nn.Upsample, [None, 2, 'nearest']],31[[-1, 10], 1, Concat, [1]], # cat backbone P632[-1, 3, C3, [1024, False]], # 173334[-1, 1, Conv, [768, 1, 1]],35[-1, 1, nn.Upsample, [None, 2, 'nearest']],36[[-1, 8], 1, Concat, [1]], # cat backbone P537[-1, 3, C3, [768, False]], # 213839[-1, 1, Conv, [512, 1, 1]],40[-1, 1, nn.Upsample, [None, 2, 'nearest']],41[[-1, 6], 1, Concat, [1]], # cat backbone P442[-1, 3, C3, [512, False]], # 254344[-1, 1, Conv, [256, 1, 1]],45[-1, 1, nn.Upsample, [None, 2, 'nearest']],46[[-1, 4], 1, Concat, [1]], # cat backbone P347[-1, 3, C3, [256, False]], # 29 (P3/8-small)4849[-1, 1, Conv, [256, 3, 2]],50[[-1, 26], 1, Concat, [1]], # cat head P451[-1, 3, C3, [512, False]], # 32 (P4/16-medium)5253[-1, 1, Conv, [512, 3, 2]],54[[-1, 22], 1, Concat, [1]], # cat head P555[-1, 3, C3, [768, False]], # 35 (P5/32-large)5657[-1, 1, Conv, [768, 3, 2]],58[[-1, 18], 1, Concat, [1]], # cat head P659[-1, 3, C3, [1024, False]], # 38 (P6/64-xlarge)6061[-1, 1, Conv, [1024, 3, 2]],62[[-1, 14], 1, Concat, [1]], # cat head P763[-1, 3, C3, [1280, False]], # 41 (P7/128-xxlarge)6465[[29, 32, 35, 38, 41], 1, Detect, [nc, anchors]], # Detect(P3, P4, P5, P6, P7)66]676869