소스 검색

modify v10

yjh0410 10 달 전
부모
커밋
456e8e73b4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      yolo/models/yolov10/yolov10_pafpn.py

+ 1 - 1
yolo/models/yolov10/yolov10_pafpn.py

@@ -37,7 +37,7 @@ class Yolov10PaFPN(nn.Module):
                                          )
         # ----------------------------- Yolov10's Bottom-up PAN -----------------------------
         ## P3 -> P4
-        self.dowmsample_layer_1 = SCDown(round(256*cfg.width), round(256*cfg.width), kernel_size=3, stride=2)
+        self.dowmsample_layer_1 = ConvModule(round(256*cfg.width), round(256*cfg.width), kernel_size=3, stride=2)
         self.bottom_up_layer_1 = C2fBlock(in_dim     = round(256*cfg.width) + round(512*cfg.width),
                                           out_dim    = round(512*cfg.width),
                                           expansion  = 0.5,