筆記 解析COCO數據集(一)

captions = [coco.anns[ann_id]['caption'] for ann_id in coco.anns] image_ids = [coco.anns[ann_id]['image_id'] for ann_id in coco.anns] image_files = [os.path.join(config.train_image_dir,
相關文章
相關標籤/搜索