Skip to content

lijingle-coder/ailia-models-cpp

 
 

Repository files navigation

ailia-models-cpp

The collection of pre-trained, state-of-the-art models for C++.

ailia models (Python version)

About ailia SDK

ailia SDK is a cross-platform high speed inference SDK. The ailia SDK provides a consistent C++ API on Windows, Mac, Linux, iOS, Android and Jetson. It supports Unity, Python and JNI for efficient AI implementation. The ailia SDK makes great use of the GPU via Vulkan and Metal to serve accelerated computing.

Install ailia SDK

Download ailia SDK

You can download a free evaluation version that allows you to evaluate the ailia SDK for 30 days. Please download from the trial link below.

https://ailia.jp/en/

Install ailia SDK

Copy the files located in the folder [ailia SDK]/library/ to the folder ./ailia/library/.

Install dependent libraries

Windows

gnumake and Visual Studio 2015 or newer are required. http://gnuwin32.sourceforge.net/packages/make.htm

Mac

Xcode Commandline Tools are required, they can be installed by running the command.

xcode-select --install

OpenCV is required, it can be installed by running the command.

brew install opencv.

Linux

OpenCV is required, it can be installed by running the command.

apt install libopencv-dev

Build

cd yolox
export AILIA_LIBRARY_PATH=../ailia/library
cmake .
make

Run

./yolox.sh -v 0

Supporting Models

We are now converting to C++. Please wait to complete conversion.

Image classification

Name Detail Exported From Supported Ailia Version
resnet50 Deep Residual Learning for Image Recognition Chainer 1.2.0 and later

Image segmentation

Name Detail Exported From Supported Ailia Version
U-2-Net U^2-Net: Going Deeper with Nested U-Structure for Salient Object Detection Pytorch 1.2.2 and later

Object detection

Name Detail Exported From Supported Ailia Version
yolov3-tiny YOLO: Real-Time Object Detection ONNX Runtime 1.2.1 and later
m2det M2Det: A Single-Shot Object Detector based on Multi-Level Feature Pyramid Network Pytorch 1.2.3 and later
yolox YOLOX Pytorch 1.2.6 and later

Pose estimation

Name Detail Exported From Supported Ailia Version
lightweight-human-pose-estimation Fast and accurate human pose estimation in PyTorch. Contains implementation of "Real-time 2D Multi-Person Pose Estimation on CPU: Lightweight OpenPose" paper. Pytorch 1.2.1 and later

Face detection

Name Detail Exported From Supported Ailia Version
yolov3-face YOLO: Real-Time Object Detection ONNX Runtime 1.2.1 and later

Face identification

Name Detail Exported From Supported Ailia Version
arcface pytorch implement of arcface Pytorch 1.2.1 and later

Face recognition

Name Detail Exported From Supported Ailia Version
face_alignment 2D and 3D Face alignment library build using pytorch Pytorch 1.2.1 and later
mediapipe_iris irislandmarks.pytorch Pytorch 1.2.2 and later

About

C++ version of ailia models repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.5%
  • Batchfile 4.6%
  • Shell 4.3%
  • CMake 4.0%
  • C 0.6%