Get Datasets
- get_datasets(self, offset: int = 0, limit: int = 50) List[Dataset]
Get a list of datasets from the QAI Hub.
- Parameters:
offset – The offset of the datasets to get even older datasets.
limit – The limit of the datasets to get.
- Returns:
Returns a list of dataset objects if successful.
- Return type:
List[Dataset]
Note
For details, see get_datasets 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)
datasets = np_qai.get_datasets()