본문으로 건너뛰기
SDK Version: 2.3.3

Quick Start Guide

Welcome to DX-COM (DEEPX Compiler)! This guide will help you compile your first ONNX model in just a few minutes.


Install DX-COM

Follow Installation of DX-COM to install and verify DX-COM before continuing with this quick start.


Compile Sample Models

When DX-COM is installed from the package bundle, sample models and calibration data are automatically downloaded to dx_com/ during install.sh. If they are not available, run the helper scripts below first:

./example/1-download_sample_models.sh
./example/2-download_sample_calibration_dataset.sh

These helper scripts populate the sample asset directories used by the bundle, such as dx_com/sample_models/ and dx_com/calibration_dataset/.

Then run all sample compilations at once:

./example/3-compile_sample_models.sh

Compile Your Own Model

With the dxcom Command

For complete examples and options, see CLI Execution.

dxcom -m model.onnx -c config.json -o output/

With the dx_com Python Module

For complete examples and options, see dx_com Python Module Usage.

Using dx_com.compile():

import dx_com
dx_com.compile(model="model.onnx", output_dir="output/", config="config.json")

Next Steps

  1. Installation of DX-COMInstallation of DX-COM
  2. Execution of DX-COMExecution of DX-COM
  3. JSON File ConfigurationJSON File Configuration
  4. Common Use CasesCommon Use Cases

Happy compiling!