How to Use
NetsPresso Converter can be used through two methods: PyNetsPresso and LaunchX.
PyNetsPresso
For first-time use or to obtain detailed information about PyNetsPresso, please visit https://github.com/Nota-NetsPresso/PyNetsPresso.
from netspresso.enums import DeviceName, Framework, SoftwareVersion
# 1. Declare converter
converter = netspresso.converter_v2()
# 2. Run convert
conversion_result = converter.convert_model(
input_model_path="./examples/sample_models/test.onnx",
output_dir="./outputs/converted/TENSORRT_JETSON_AGX_ORIN_JETPACK_5_0_1",
target_framework=Framework.TENSORRT,
target_device_name=DeviceName.JETSON_AGX_ORIN,
target_software_version=SoftwareVersion.JETPACK_5_0_1,
)
LaunchX
To use LaunchX, please visit https://launchx.netspresso.ai/main.
- Click on Convert in the top menu bar.
- Upload your AI model
- Select the Target Framework, Target Device, Output Datatype, and then click Convert.
Updated 2 months ago