MCPcopy Create free account
hub / github.com/TimSeizinger/Bokehlicious / add_network_args

Function add_network_args

util/parser.py:10–12  ·  view source on GitHub ↗
(parser: ArgumentParser)

Source from the content-addressed store, hash-verified

8 return parser
9
10def add_network_args(parser: ArgumentParser):
11 parser.add_argument('-size', type=str, required=True, choices=['small', 'large', 'defocus_deblur'])
12 parser.add_argument('-device', type=str, default='cuda', choices=['cuda', 'cpu'])
13
14def add_img_args(parser: ArgumentParser):
15 parser.add_argument('-img_path', type=str, required=True)

Callers 2

get_predict_parserFunction · 0.85
get_eval_parserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected