def get_data(dataset_root, file_list, max_num_clips=0): dataset_parser = AVDBParser(dataset_root, os.path.join(dataset_root, file_list), max_num_clips=max_num_clips, ungroup=False, load_image=False) data = dataset_parser.get_data() print('clips count:', len(data)) print('frames count:', dataset_parser.get_dataset_size()) return data
def get_data(dataset_root, file_list, max_num_clips=0): dataset_parser = AVDBParser(dataset_root, file_list, max_num_clips=max_num_clips) data = dataset_parser.get_data() print('clips count:', len(data)) print('frames count:', dataset_parser.get_dataset_size()) return data