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