MCPcopy
hub / github.com/PaddlePaddle/PaddleOCR / parse_args

Method parse_args

tools/program.py:58–62  ·  view source on GitHub ↗
(self, argv=None)

Source from the content-addressed store, hash-verified

56 )
57
58 def parse_args(self, argv=None):
59 args = super(ArgsParser, self).parse_args(argv)
60 assert args.config is not None, "Please specify --config=configure_file_path."
61 args.opt = self._parse_opt(args.opt)
62 return args
63
64 def _parse_opt(self, opts):
65 config = {}

Callers 15

gen_label.pyFile · 0.45
math_txt2pkl.pyFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
preprocessFunction · 0.45
parse_argsFunction · 0.45
mainFunction · 0.45
parse_argsFunction · 0.45
predict_rec.pyFile · 0.45
predict_cls.pyFile · 0.45
predict_det.pyFile · 0.45

Calls 1

_parse_optMethod · 0.95

Tested by 2

parse_argsFunction · 0.36
mainFunction · 0.36