Importing Data from an OBS Path

Prerequisites

Importing File Data from an OBS Path

The parameters on the GUI for data import vary according to the dataset type. The following uses a dataset of the image classification type as an example.

  1. Log in to the ModelArts management console. In the navigation pane on the left, choose Data Management > Datasets.
  2. Locate the target dataset and click Import in the Operation column. Alternatively, you can click the dataset name to go to the Dashboard tab of the dataset, and click Import in the upper right corner.
  3. In the Import dialog box, set the parameters as follows and click OK.
    • Data Source: OBS
    • Import Mode: Path
    • Import Path: OBS path for storing data
    • Labeling Status: Labeled
    • Advanced Feature Settings: This function is disabled by default. You can click the button on the right to enable this function.

      Import by Tag enables the system to automatically obtain the labels of the current dataset. Click Add Label to add a label. This field is optional. After importing the data, you can add or delete labels during data labeling.

    After the data is imported, it will be automatically synchronized to the dataset. On the Datasets page, click the dataset name to view its details and create a labeling job to label the data.

Labeling Status of File Data

The labeling status can be Unlabeled or Labeled.

Importing a Table Dataset from OBS

ModelArts allows you to import table data (CSV files) from OBS.

Import description:

├─dataset-import-example 
│      table_import_1.csv 
│      table_import_2.csv
│      table_import_3.csv
│      table_import_4.csv