tools.py 文件源码

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

项目:monogreedy 作者: jinjunqi 项目源码 文件源码
def read_coco_image(data_split, coco_id, root_dir=osp.join(DATA_ROOT, 'mscoco')):
    file_name = 'COCO_{}2014_'.format(data_split) + str(coco_id).zfill(12) + '.jpg'
    im = imread(osp.join(root_dir, data_split+'2014', file_name))
    return im
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号