import pickle


def load_pkl(data_path, verbose=True):
  """Load data from pickle file."""
  with open(data_path, 'rb') as f:
    if verbose:
      print('读取 {}...'.format(f.name))
    return pickle.load(f)