block.py
ultralytics\nn\modules\block.py
目录
16.class GhostBottleneck(nn.Module):
17.class Bottleneck(nn.Module):
18.class BottleneckCSP(nn.Module):
19.class ResNetBlock(nn.Module):
20.class ResNetLayer(nn.Module):
21.class MaxSigmoidAttnBlock(nn.Module):
23.class ImagePoolingAttn(nn.Module):
24.class ContrastiveHead(nn.Module):
25.class BNContrastiveHead(nn.Module):
26.class RepBottleneck(Bottleneck):
28.class RepNCSPELAN4(nn.Module):
35.class RepVGGDW(torch.nn.Module):
38.class Attention(nn.Module):
1.所需的库和模块
# Ultralytics YOLO
标签:8.2,nn,卷积,self,ultralytics,YOLOv8,c2,c1,通道
From: https://blog.csdn.net/m0_58169876/article/details/143954869