2 Achegas 5f27c68298 ... 54b5f2df30

Autor SHA1 Mensaxe Data
  zhangcx 54b5f2df30 Add pretrained weights hai 1 ano
  zhangcx 35edaa7830 c hai 1 ano
Modificáronse 4 ficheiros con 1 adicións e 2 borrados
  1. BIN=BIN
      data/images/bus.jpg
  2. BIN=BIN
      data/images/zidane.jpg
  3. 1 2
      models/common.py
  4. BIN=BIN
      weights/yolov5s.pt

BIN=BIN
data/images/bus.jpg


BIN=BIN
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:

BIN=BIN
weights/yolov5s.pt