MCPcopy Create free account
hub / github.com/drinkingcoder/NeuralMarker / get_life_args

Function get_life_args

config.py:63–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 return parser.parse_known_args()[0]
62
63def get_life_args():
64 parser = configargparse.ArgParser(config_file_parser_class=configargparse.YAMLConfigFileParser)
65 parser.add_argument('--iters', type=int, default=12)
66 parser.add_argument('--mixed_precision', type=bool, default=True)
67 parser.add_argument('--small', action='store_true', help='use small model')
68 parser.add_argument("--fnet", type=str, default='CNN')
69 parser.add_argument('--model', type=str, default="./pretrained_models/cnn_one.pth", help="choose the trained model")
70 args = parser.parse_known_args()[0]
71 return args
72
73def get_demo_video_args():
74 parser = argparse.ArgumentParser()

Callers 1

demoFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected