def get_best_acc(dir_path):
    top_pkl_file = os.path.join(dir_path, 'top.pkl')
    if os.path.isfile(top_pkl_file):
        with open(top_pkl_file, 'rb') as f:
            top = pickle.load(f)
        return top['best']
    return 0.0
def get_best_acc(dir_path):
    top_pkl_file = os.path.join(dir_path, 'top.pkl')
    if os.path.isfile(top_pkl_file):
        with open(top_pkl_file, 'rb') as f:
            top = pickle.load(f)
        return top['best']
    return 0.0