explore.py 文件源码

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

项目:deep-learning-experiments 作者: raghakot 项目源码 文件源码
def compare(test_id, angles, models):
    img = X_test[test_id]
    imgs = np.array([ndimage.rotate(img, rot, reshape=False) for rot in angles])

    all_probs = []
    all_matched = []
    for model in models:
        probs, matched = get_probs_matched(imgs, model, test_id)
        all_probs.append(probs)
        all_matched.append(matched)

    return all_probs, all_matched
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号