MCPcopy Create free account
hub / github.com/DLRRadarScienceGroup/DeepPhaseUnw / parse_args

Function parse_args

DeepPhaseUnw/test_demo.py:45–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44
45def parse_args():
46 parser = argparse.ArgumentParser()
47# ====================== INPUT DATA FOLDER ====================
48 parser.add_argument('--input_dir', default='./input/', type=str, help='directory of test data')
49# ====================== MODEL FOLDER ====================
50 parser.add_argument('--model_dir', default='./trained_model/', type=str, help='directory of the model')
51 parser.add_argument('--model_name_x', default='DeepPhaseUnw_x.hdf5', type=str, help='the model name - x-axis')
52 parser.add_argument('--model_name_y', default='DeepPhaseUnw_y.hdf5', type=str, help='the model name - y-axis')
53# ====================== OUTPUT DATA FOLDER ====================
54 parser.add_argument('--output_dir', default='./output/', type=str, help='directory of unwrapped phase')
55
56 return parser.parse_args()
57
58
59

Callers 1

test_demo.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected