MCPcopy
hub / github.com/qqwweee/keras-yolo3 / get_defaults

Method get_defaults

yolo.py:33–37  ·  view source on GitHub ↗
(cls, n)

Source from the content-addressed store, hash-verified

31
32 @classmethod
33 def get_defaults(cls, n):
34 if n in cls._defaults:
35 return cls._defaults[n]
36 else:
37 return "Unrecognized attribute name '" + n + "'"
38
39 def __init__(self, **kwargs):
40 self.__dict__.update(self._defaults) # set up default values

Callers 1

yolo_video.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected