Get Model

get_model(self, model_id: str) Model

Get a model from the QAI Hub.

Parameters:

model_id – The ID of the model to get.

Returns:

Returns a model object if successful.

Return type:

Model

Note

For details, see get_model 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)
model = np_qai.get_model("YOUR_MODEL_ID")