tpoisonooo / rust-mmdeploy-sys

MMDeploy bindings for Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-mmdeploy-sys

MMDeploy bindings for Rust.

🚧 THIS REPO IS STILL UNDER CONSTRUCTION!

Prerequisites

NOTICE: Linux only. Onnxruntime only.

In order to successfully build this repo, you are supposed to install some pre-packages.

Step 1. Install Clang required by Bindgen.

apt install llvm-dev libclang-dev clang

Step 2. Download and install pre-built mmdeploy package.

wget https://github.com/open-mmlab/mmdeploy/releases/download/v0.8.0/mmdeploy-0.8.0-linux-x86_64-onnxruntime1.8.1.tar.gz
tar -zxvf mmdeploy-0.8.0-linux-x86_64-onnxruntime1.8.1.tar.gz
cd mmdeploy-0.8.0-linux-x86_64-onnxruntime1.8.1.tar.gz
export MMDEPLOY_DIR=$(pwd)

Build

Move to the root of this repo and then:

cargo build

About

MMDeploy bindings for Rust.


Languages

Language:Rust 100.0%