Skip to content

Commit

Permalink
yolo.py bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jul 13, 2020
1 parent 02445d1 commit 2b18924
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions models/yolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ def __init__(self, cfg='yolov5s.yaml', ch=3, nc=None): # model, input channels,

# Init weights, biases
torch_utils.initialize_weights(self)
self._initialize_biases() # only run once
torch_utils.model_info(self)
self.info()
print('')

def forward(self, x, augment=False, profile=False):
Expand Down

0 comments on commit 2b18924

Please sign in to comment.