Back to Mmdetection

DSDL: Standard Description Language for DataSet

configs/dsdl/README.md

3.3.03.6 KB
Original Source

DSDL: Standard Description Language for DataSet

<!-- [DATASET] -->

1. Abstract

Data is the cornerstone of artificial intelligence. The efficiency of data acquisition, exchange, and application directly impacts the advances in technologies and applications. Over the long history of AI, a vast quantity of data sets have been developed and distributed. However, these datasets are defined in very different forms, which incurs significant overhead when it comes to exchange, integration, and utilization -- it is often the case that one needs to develop a new customized tool or script in order to incorporate a new dataset into a workflow.

To overcome such difficulties, we develop Data Set Description Language (DSDL). More details please visit our official documents, dsdl datasets can be downloaded from our platform OpenDataLab.

2. Steps

  • install dsdl:

    install by pip:

    pip install dsdl
    

    install by source code:

    git clone https://github.com/opendatalab/dsdl-sdk.git -b schema-dsdl
    cd dsdl-sdk
    python setup.py install
    
  • install mmdet and pytorch: please refer this installation documents.

  • train:

    • using single gpu:
    python tools/train.py {config_file}
    
    • using slurm:
    ./tools/slurm_train.sh {partition} {job_name} {config_file} {work_dir} {gpu_nums}
    

3. Test Results

  • detection task:

    DatasetsModelbox APConfig
    VOC07+12model80.3*config
    COCOmodel37.4config
    Objects365model19.8config
    OpenImagesmodel59.9*config

    *: box AP in voc metric and openimages metric, actually means AP_50.

  • instance segmentation task:

    DatasetsModelbox APmask APConfig
    COCOmodel38.134.7config