Get Dataset

get_dataset(self, dataset_id: str) Dataset

Get a dataset from the QAI Hub.

Parameters:

dataset_id – The ID of the dataset to get.

Returns:

Returns a dataset object if successful.

Return type:

Dataset

Note

For details, see get_dataset in QAI Hub API.

Example

from netspresso import NPQAI

QAI_HUB_API_TOKEN = "YOUR_QAI_HUB_API_TOKEN"
np_qai = NPQAI(api_token=QAI_HUB_API_TOKEN)
dataset = np_qai.get_dataset("YOUR_DATASET_ID")