Updated on 2024-06-12 GMT+08:00

Importing Data from Local Files

Prerequisites

  • You have created a dataset.
  • You have created an OBS bucket. The OBS bucket and ModelArts are in the same region and you can operate the bucket.

Import Operation

Both file and table data can be uploaded from local files. The data uploaded from local files should be stored in an OBS directory. You must have created an OBS bucket.

In a single batch upload, a maximum of 100 files can be uploaded at a time, and the total size of the files cannot exceed 5 GB.

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 . In the navigation pane, choose Data Management > Datasets.
  2. Locate the row that contains the desired dataset and click Import in the Operation column.
    Figure 1 Importing data

    Alternatively, you can click the dataset name to go to the Dashboard tab page 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: Local file
    • Storage Path: Select an OBS path.
    • Uploading Data: Click Upload data, upload local data, and click OK.
    Figure 2 Importing data from local files