plot_results.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:TabularSASR 作者: SimsGautam 项目源码 文件源码
def load_files(avg_file, std_file):

    # load files
    with open(avg_file) as f:
        avg = simplejson.load(f)

    with open(std_file) as f:
        std = simplejson.load(f)

    std = np.array(std)
    print std
    std = np.true_divide(std, 2.)
    print std

    avg = np.array(avg)

    avg_upper = avg + std
    avg_lower = avg - std

    return avg, avg_upper, avg_lower
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号