zhangcx 1 tahun lalu
induk
melakukan
35edaa7830
3 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. TEMPAT SAMPAH
      data/images/bus.jpg
  2. TEMPAT SAMPAH
      data/images/zidane.jpg
  3. 1 2
      models/common.py

TEMPAT SAMPAH
data/images/bus.jpg


TEMPAT SAMPAH
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: