Get Conversion Task

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

Get the conversion task information 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")
converter.get_conversion_task("YOUR_CONVERSION_TASK")