updates
This commit is contained in:
parent
315fe6ec14
commit
f728bd21d2
|
@ -130,7 +130,6 @@ class YOLOLayer(nn.Module):
|
||||||
|
|
||||||
if p.is_cuda:
|
if p.is_cuda:
|
||||||
self.grid_xy = self.grid_xy.cuda()
|
self.grid_xy = self.grid_xy.cuda()
|
||||||
self.anchor_vec = self.anchor_vec.cuda()
|
|
||||||
self.anchor_wh = self.anchor_wh.cuda()
|
self.anchor_wh = self.anchor_wh.cuda()
|
||||||
|
|
||||||
# p.view(bs, 255, 13, 13) -- > (bs, 3, 13, 13, 80) # (bs, anchors, grid, grid, classes + xywh)
|
# p.view(bs, 255, 13, 13) -- > (bs, 3, 13, 13, 80) # (bs, anchors, grid, grid, classes + xywh)
|
||||||
|
|
Loading…
Reference in New Issue