mirror of
https://github.com/ultralytics/yolov5.git
synced 2025-06-03 14:49:29 +08:00
yolo.py bug fix
This commit is contained in:
parent
02445d176d
commit
2b1892430f
@ -74,8 +74,7 @@ class Model(nn.Module):
|
|||||||
|
|
||||||
# Init weights, biases
|
# Init weights, biases
|
||||||
torch_utils.initialize_weights(self)
|
torch_utils.initialize_weights(self)
|
||||||
self._initialize_biases() # only run once
|
self.info()
|
||||||
torch_utils.model_info(self)
|
|
||||||
print('')
|
print('')
|
||||||
|
|
||||||
def forward(self, x, augment=False, profile=False):
|
def forward(self, x, augment=False, profile=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user