image.py 文件源码

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

项目:alchemy 作者: voidrank 项目源码 文件源码
def setUp(self):
        self.annotations_file = "data/coco/annotations/instances_minival2014.json"
        if getattr(self, 'coco', None) is None:
            self.coco = COCO(self.annotations_file)
        image_name = config.IMAGE_NAME_FORMAT % ('val2014', self.coco.getImgIds()[0])
        image_path = config.IMAGE_PATH_FORMAT % ('val2014', image_name)
        self.image = load_image(image_path)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号