(input_data_path )
| 8 | import random |
| 9 | |
| 10 | def load_data(input_data_path ): |
| 11 | with open(input_data_path) as f: |
| 12 | data_file_list = open(input_data_path, 'rt').read().splitlines() |
| 13 | # Get full list of color image and labels |
| 14 | file_image = [s.split(' ')[0] for s in data_file_list] |
| 15 | file_label = [int(s.split(' ')[1]) for s in data_file_list] |
| 16 | |
| 17 | return file_image, file_label |
| 18 | |
| 19 | |
| 20 | def GenIdx( train_color_label, train_thermal_label): |
nothing calls this directly
no outgoing calls
no test coverage detected