def processArgs(): parser = argparse.ArgumentParser(description='Training Script', formatter_class=RawTextHelpFormatter) parser.add_argument("-b", default=0, type=int, help=benchmarks.help()) parser.add_argument("-o", default=-1, type=int, help=training_opt.help()) parser.add_argument("-p", required=False, help="Nome do programa") return parser.parse_args()
def processarArgumentos(): parser = argparse.ArgumentParser(description='Script para o Experimento', formatter_class=RawTextHelpFormatter) parser.add_argument("-b", default=0, type=int, help=benchmarks.help()) parser.add_argument("-p", required=False, help="Nome do programa") parser.add_argument("-o", required=False, help="Plano") return parser.parse_args()
def processarArgumentos(): parser = argparse.ArgumentParser(description='Script para o Treinamento', formatter_class=RawTextHelpFormatter) parser.add_argument("-b", default=0, type=int, help=benchmarks.help()) parser.add_argument("-o", default=-1, type=int, help="Identificador do Plano de Otimizacao") parser.add_argument("-p", required=True, help="Nome do programa") return parser.parse_args()