惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
雷峰网
雷峰网
宝玉的分享
宝玉的分享
IT之家
IT之家
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
博客园 - 叶小钗
V
Visual Studio Blog
Engineering at Meta
Engineering at Meta
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
云风的 BLOG
云风的 BLOG
美团技术团队
爱范儿
爱范儿
T
The Blog of Author Tim Ferriss
L
LangChain Blog
U
Unit 42
有赞技术团队
有赞技术团队
博客园_首页

博客园 - MSTK

PCB检测算法YOLO-EMAC(1) Android Studio提高Build速度 Android创建LiteOrmManager类(4) DecoView的使用 Android创建LiteOrmManager类(3) Android创建LiteOrmManager类(2) Android创建LiteOrmManager类(1) Android使用Snackbar Unable to add window -- token null is not valid; is your activity running? Android Studio集成通义灵码 MonoDETR(2) MonoDETR(1) The color "XXX" in values has no declaration in the base values folder; this can lead to crashes when the resource is queried in a configuration that does not match this qualifier LiteORM的使用(2) LiteORM的使用(1) 使用AlarmManager实现APP保活(2) 使用AlarmManager实现APP保活(1) CEC2017的30个函数 使用双进程实现Android APP保活 Process finished with exit code 137 (interrupted by signal 9: SIGKILL) GIT RE-BASIN: MERGING MODELS MODULO PERMUTATION SYMMETRIES (1) MMpretrain使用Tiny ImageNet数据集 Ubuntu使用dd命令实现硬盘级复制 PyCharm debug collecting data...
PCB检测算法YOLO-EMAC(2)
MSTK · 2026-08-27 · via 博客园 - MSTK

YOLO-EMAC的整体结构如下图所示,可以看出,整体结构就是YOLOv12,把其中的一些模块替换成了M2C2f和A2C2f.

# YOLO-EMAC 🚀 (based on YOLOv12-turbo)
# Replaces A2C2f with M2C2f and C3k2 with C3k2_EAMC (E-C3k2)

# Parameters
nc: 80  # number of classes
scales: # model compound scaling constants
  n: [0.50, 0.25, 1024]
  s: [0.50, 0.50, 1024]
  m: [0.50, 1.00, 512]
  l: [1.00, 1.00, 512]
  x: [1.00, 1.50, 512]

# YOLO-EMAC backbone
backbone:
  - [-1, 1, Conv, [64, 3, 2]]                 # 0-P1/2
  - [-1, 1, Conv, [128, 3, 2, 1, 2]]          # 1-P2/4
  - [-1, 2, C3k2_EAMC, [256, False, 0.25, 1, False]]  # 2 (E-C3k2)
  - [-1, 1, Conv, [256, 3, 2, 1, 4]]          # 3-P3/8
  - [-1, 2, C3k2_EAMC, [512, False, 0.25, 1, False]]  # 4 (E-C3k2)
  - [-1, 1, Conv, [512, 3, 2]]                # 5-P4/16
  - [-1, 4, M2C2f, [512]]                     # 6 (M2C2f)
  - [-1, 1, Conv, [1024, 3, 2]]               # 7-P5/32
  - [-1, 4, M2C2f, [1024]]                    # 8 (M2C2f)

# YOLO-EMAC head
head:
  - [-1, 1, nn.Upsample, [None, 2, "nearest"]]
  - [[-1, 6], 1, Concat, [1]]                # cat backbone P4
  - [-1, 2, M2C2f, [512]]                    # 11 (M2C2f)

  - [-1, 1, nn.Upsample, [None, 2, "nearest"]]
  - [[-1, 4], 1, Concat, [1]]                # cat backbone P3
  - [-1, 2, C3k2_EAMC, [256, False, 0.5, 1, False]]  # 14 (E-C3k2)

  - [-1, 1, Conv, [256, 3, 2]]
  - [[-1, 11], 1, Concat, [1]]               # cat head P4
  - [-1, 2, M2C2f, [512]]                    # 17 (M2C2f)

  - [-1, 1, Conv, [512, 3, 2]]
  - [[-1, 8], 1, Concat, [1]]                # cat head P5
  - [-1, 2, C3k2_EAMC, [1024, False, 0.5, 1, True]]  # 20 (E-C3k2)

  - [[14, 17, 20], 1, Detect, [nc]]          # Detect(P3, P4, P5)