| 43 | |
| 44 | |
| 45 | def 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 | |