ROS Quickstart Guide (#13553)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Francesco Mattioli 2024-06-19 01:54:19 +02:00 committed by GitHub
parent 6bddeda34b
commit f22d2d9546
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 397 additions and 19 deletions

View file

@ -60,7 +60,7 @@ class SPPF(nn.Module):
self.maxpool = nn.MaxPool2d(5, 1, padding=2)
def forward(self, x):
"""Applies sequential max pooling and concatenates results with input tensor; expects input tensor x of any shape."""
"""Applies sequential max pooling and concatenates results with input tensor."""
o1 = self.maxpool(x)
o2 = self.maxpool(o1)
o3 = self.maxpool(o2)