Advertisement

PaddleDetection自定义数据集转为COCO格式

阅读量:

自定义数据集转化为coco格式

任务:将自主标注的voc格式数据集转换为coco格式

  1. 对PaddleDetection/tools/x2coco.py文件中的相关代码进行必要的调整
复制代码
    #!/usr/bin/env python
    # coding: utf-8
    # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #     http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distrib

全部评论 (0)

还没有任何评论哟~