aegan_reid.py 文件源码

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

项目:Keras-GAN 作者: Shaofanl 项目源码 文件源码
def feature(aegan, filename):
    import ipdb
    with ipdb.launch_ipdb_on_exception():
        aegan.load(prefix='./samples/reid_aegan/aegan/50')

        paths = map(lambda x: x.strip(), open('protocol/cuhk01-all.txt').readlines())
        x = transform( np.array([load_image(path, (64, 128)) for path in paths]) )
        code = aegan.autoencoder.encoder.predict(x)

    ipdb.set_trace()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号