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-p6.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, SPPF, [1024, 5]], # 1123]2425# YOLOv5 v6.0 head26head:27[[-1, 1, Conv, [768, 1, 1]],28[-1, 1, nn.Upsample, [None, 2, 'nearest']],29[[-1, 8], 1, Concat, [1]], # cat backbone P530[-1, 3, C3, [768, False]], # 153132[-1, 1, Conv, [512, 1, 1]],33[-1, 1, nn.Upsample, [None, 2, 'nearest']],34[[-1, 6], 1, Concat, [1]], # cat backbone P435[-1, 3, C3, [512, False]], # 193637[-1, 1, Conv, [256, 1, 1]],38[-1, 1, nn.Upsample, [None, 2, 'nearest']],39[[-1, 4], 1, Concat, [1]], # cat backbone P340[-1, 3, C3, [256, False]], # 23 (P3/8-small)4142[-1, 1, Conv, [256, 3, 2]],43[[-1, 20], 1, Concat, [1]], # cat head P444[-1, 3, C3, [512, False]], # 26 (P4/16-medium)4546[-1, 1, Conv, [512, 3, 2]],47[[-1, 16], 1, Concat, [1]], # cat head P548[-1, 3, C3, [768, False]], # 29 (P5/32-large)4950[-1, 1, Conv, [768, 3, 2]],51[[-1, 12], 1, Concat, [1]], # cat head P652[-1, 3, C3, [1024, False]], # 32 (P6/64-xlarge)5354[[23, 26, 29, 32], 1, Detect, [nc, anchors]], # Detect(P3, P4, P5, P6)55]565758