Download Converted Model

download_converted_model(self, conversion_task: Union[str, netspresso.launcher.schemas.model.ConversionTask], dst: str)

Download the converted model with given conversion task or conversion task uuid.

Parameters

conversion_task (ConversionTask | str) – Launcher Model Object or the uuid of the conversion task.

Raises

e – If an error occurs while getting the conversion task information.

Returns

model conversion task object.

Return type

ConversionTask

Example

from netspresso.launcher import ModelConverter


converter = ModelConverter(email="YOUR_EMAIL", password="YOUR_PASSWORD")
model = converter.upload_model("YOUR_MODEL_PATH")
converter.download_converted_model("YOUR_CONVERSION_TASK", dst="YOUR_CONVERTED_MODEL_PATH")