MCPcopy Index your code
hub / github.com/llSourcell/YOLO_Object_Detection / help

Method help

darkflow/defaults.py:43–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 self._descriptions[argName] = description
42
43 def help(self):
44 print('Example usage: flow --imgdir sample_img/ --model cfg/yolo.cfg --load bin/yolo.weights')
45 print('')
46 print('Arguments:')
47 spacing = max([len(i) for i in self._descriptions.keys()]) + 2
48 for item in self._descriptions:
49 currentSpacing = spacing - len(item)
50 print(' --' + item + (' ' * currentSpacing) + self._descriptions[item])
51 print('')
52 exit()
53
54 def parseArgs(self, args):
55 print('')

Callers 1

parseArgsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected