Upload Dataset

upload_dataset(self, data, name=None) Dataset

Upload a dataset to the QAI Hub.

Parameters:
  • data – The dataset to upload.

  • name – The name of the dataset.

Returns:

Returns a dataset object if successful.

Return type:

Dataset

Note

For details, see upload_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.upload_dataset("YOUR_DATASET_PATH")