Creating a Dataset Export Task
Export the samples of a dataset to a specified OBS path. This function is only supported by image classification, object detection, image segmentation, and custom format datasets.
dataset.export_data(path)
Sample Code
from modelarts.session import Session
from modelarts.dataset import Dataset
session = Session()
dataset = Dataset(session, dataset_id)
export_resp = dataset.export_data("/obs-gaia-test/data/output/export-test/")
Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
path |
Yes |
String |
OBS path for storing the exported data |
Last Article: Querying a Dataset Export Task List
Next Article: Querying the Status of a Dataset Export Task
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.