updates
This commit is contained in:
parent
36a06a1e90
commit
17a02ae3e4
|
@ -168,7 +168,7 @@ class YOLOLayer(nn.Module):
|
|||
|
||||
p_boxes = None
|
||||
if batch_report:
|
||||
# Predictd boxes: add offset and scale with anchors (in grid space, i.e. 0-13)
|
||||
# Predicted boxes: add offset and scale with anchors (in grid space, i.e. 0-13)
|
||||
gx = x.data + self.grid_x[:, :, :nG, :nG]
|
||||
gy = y.data + self.grid_y[:, :, :nG, :nG]
|
||||
p_boxes = torch.stack((gx - width / 2,
|
||||
|
|
Loading…
Reference in New Issue