Skip to content

Commit

Permalink
fix show_config bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bubbliiiing committed Jul 7, 2022
1 parent d7deb03 commit a634f2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions yolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def __init__(self, **kwargs):
self.__dict__.update(self._defaults)
for name, value in kwargs.items():
setattr(self, name, value)
self._defaults[name] = value

#---------------------------------------------------#
# 获得种类和先验框的数量
Expand Down

0 comments on commit a634f2d

Please sign in to comment.