zhangcx 1 年之前
父節點
當前提交
35edaa7830
共有 3 個文件被更改,包括 1 次插入2 次删除
  1. 二進制
      data/images/bus.jpg
  2. 二進制
      data/images/zidane.jpg
  3. 1 2
      models/common.py

二進制
data/images/bus.jpg


二進制
data/images/zidane.jpg


+ 1 - 2
models/common.py

@@ -19,8 +19,8 @@ from utils.torch_utils import time_synchronized
 
 #错误改正
 #新增类
-import warnings
 
+import warnings
 class SPPF(nn.Module):
     # Spatial Pyramid Pooling - Fast (SPPF) layer for YOLOv5 by Glenn Jocher
     def __init__(self, c1, c2, k=5):  # equivalent to SPP(k=(5, 9, 13))
@@ -40,7 +40,6 @@ class SPPF(nn.Module):
 
 
 
-
 def autopad(k, p=None):  # kernel, padding
     # Pad to 'same'
     if p is None: