Skip to content

Commit 3c340cb

Browse files
committed
fix show_config bug
1 parent d922f01 commit 3c340cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

yolo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def __init__(self, **kwargs):
7171
self.__dict__.update(self._defaults)
7272
for name, value in kwargs.items():
7373
setattr(self, name, value)
74+
setattr(self._defaults, name, value)
7475

7576
#---------------------------------------------------#
7677
# 获得种类和先验框的数量

0 commit comments

Comments
 (0)