src.main.main_args
Classes
- class src.main.main_args.ArgsParser
- Author:
Alberto M. Esmoris Pena
Class with util static methods to parse the input arguments often given by command line.
- static parse_main_type(argv)
Find the main type of the requested execution branch.
- Parameters:
argv – The input arguments.
- Returns:
(“vl3d”, x) for the virtualearn3d branch, (“test”, None) for the test branch. In the case of the virtualearn3d branch, the x element is another string specifying the type of branch, i.e., mine, train, predict, eval, or pipeline.
- Return type:
tuple