Skip to content

Commit 516b4f0

Browse files
committed
update README.md
1 parent 5c64f61 commit 516b4f0

9 files changed

+30
-35
lines changed

README.md

+13-18
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,15 @@ Cite it as follows if you use *Lite.AI.ToolKit*. Star 🌟👆🏻 this repo if
9090

9191
</details>
9292

93-
<!----
9493

9594
## Contents.
96-
* [Dependencies](#lite.ai.toolkit-Dependencies)
97-
* [Build Lite.AI](#lite.ai.toolkit-Build-Lite.AI)
95+
* [Build](#lite.ai.toolkit-Build-Lite.AI.ToolKit)
9896
* [Model Zoo](#lite.ai.toolkit-Model-Zoo)
99-
* [Examples for LiteHub](#lite.ai.toolkit-Examples-for-Lite.AI)
100-
101-
* [Contributions](#lite.ai.toolkit-Contributions)
102-
---->
97+
* [Examples](#lite.ai.toolkit-Examples-for-Lite.AI.ToolKit)
98+
* [API Docs](#lite.ai.toolkit-Lite.AI.ToolKit-API-Docs)
99+
* [Other Docs](#lite.ai.toolkit-Other-Docs)
100+
* [License](#lite.ai.toolkit-License)
101+
* [References](#lite.ai.toolkit-References)
103102

104103
<!----
105104
@@ -243,7 +242,7 @@ set(ONNXRUNTIME_INCLUDE_DIR ${ONNXRUNTIME_DIR}/include)
243242
set(ONNXRUNTIME_LIBRARY_DIR ${ONNXRUNTIME_DIR}/lib)
244243
include_directories(${ONNXRUNTIME_INCLUDE_DIR})
245244
link_directories(${ONNXRUNTIME_LIBRARY_DIR})
246-
# link lite.ai.toolkit.toolkit.
245+
# link lite.ai.toolkit.
247246
set(LITEHUB_DIR ${CMAKE_SOURCE_DIR}/lite.ai.toolkit)
248247
set(LITEHUB_INCLUDE_DIR ${LITEHUB_DIR}/include)
249248
set(LITEHUB_LIBRARY_DIR ${LITEHUB_DIR}/lib)
@@ -260,13 +259,13 @@ A minimum example to show you how to link the shared lib of Lite.AI correctly fo
260259

261260
## 2. Model Zoo.
262261

263-
<div id="lite.ai.toolkit.toolkit-Model-Zoo"></div>
262+
<div id="lite.ai.toolkit-Model-Zoo"></div>
264263

265264
*Lite.AI.ToolKit* contains *[70+](https://github.com/DefTruth/lite.ai.toolkit/tree/main/docs/hub/lite.ai.toolkit.hub.onnx.md)* AI models with *[150+](https://github.com/DefTruth/lite.ai.toolkit/tree/main/docs/hub/lite.ai.toolkit.hub.onnx.md)* frozen pretrained *.onnx* files now. Note that the models here are all from third-party projects. Most of the models were converted by *Lite.AI.ToolKit*. In Lite.AI, different names of the same algorithm mean that the corresponding models come from different repositories, different implementations, or use different training data, etc. ✅ means passed the test and ⚠️ means not implements yet but coming soon. For classes which denoted ✅, you can use it through *lite::cv::Type::Class* syntax, such as *[lite::cv::detection::YoloV5](#lite.ai.toolkit-object-detection)* . More details can be found at [Examples for Lite.AI](#lite.ai.toolkit-Examples-for-Lite.AI.ToolKit) .
266265
<details>
267266
<summary> Expand Details for Namespace and Lite.AI.ToolKit modules.</summary>
268267

269-
### Namespace and Lite.AI modules.
268+
### Namespace and Lite.AI.ToolKit modules.
270269
*Lite.AI* contains *[70+](https://github.com/DefTruth/lite.ai.toolkit/tree/main/docs/hub/lite.ai.toolkit.hub.onnx.md)* AI models with *[150+](https://github.com/DefTruth/lite.ai.toolkit/tree/main/docs/hub/lite.ai.toolkit.hub.onnx.md)* frozen pretrained *.onnx* files now. They come from different fields of computer vision. Click the Expand ▶️ button for more details.
271270

272271

@@ -287,7 +286,7 @@ A minimum example to show you how to link the shared lib of Lite.AI correctly fo
287286
| *lite::cv::resolution* | Super Resolution. ⚠️ |
288287

289288

290-
### Lite.AI's Classes and Pretrained Files.
289+
### Lite.AI.ToolKit's Classes and Pretrained Files.
291290

292291
Correspondence between the classes in *Lite.AI.ToolKit* and pretrained model files can be found at [lite.ai.toolkit.hub.onnx.md](https://github.com/DefTruth/lite.ai.toolkit/tree/main/docs/hub/lite.ai.toolkit.hub.onnx.md). For examples, the pretrained model files for *lite::cv::detection::YoloV5* and *lite::cv::detection::YoloX* are listed as follows.
293292

@@ -325,11 +324,7 @@ auto *yolox = new lite::cv::detection::YoloX("yolox_nano.onnx"); // 3.5Mb only
325324
* Downloads:
326325
[Baidu Drive](https://pan.baidu.com/s/1elUGcx7CZkkjEoYhTMwTRQ) code: 8gin && [Google Drive](https://drive.google.com/drive/folders/1p6uBcxGeyS1exc-T61vL8YRhwjYL4iD2?usp=sharing) .
327326
Note, I can not upload all the *.onnx files because of the storage limitation of Google Driver (15G). <div id="lite.ai.toolkit.toolkit-2"></div>
328-
329-
<!---
330-
For example, ArcFace in [insightface](https://github.com/deepinsight/insightface) is different from ArcFace in [face.evoLVe.PyTorch](https://github.com/ZhaoJ9014/face.evoLVe.PyTorch) . ArcFace in [insightface](https://github.com/deepinsight/insightface) uses Arc-Loss + Softmax, while ArcFace in [face.evoLVe.PyTorch](https://github.com/ZhaoJ9014/face.evoLVe.PyTorch) uses Arc-Loss + Focal-Loss. Lite.AI uses naming to make the necessary distinctions between models from different sources.
331-
---->
332-
327+
333328

334329
* Object Detection.
335330

@@ -1184,7 +1179,7 @@ The output is:
11841179
<div id="lite.ai.toolkit-Lite.AI.ToolKit-API-Docs"></div>
11851180

11861181
### 4.1 Default Version APIs.
1187-
More details of Default Version APIs can be found at [default-version-api-docs](https://github.com/DefTruth/lite.ai.toolkit/blob/main/docs/api/default.md) . For examples, the interface for YoloV5 is:
1182+
More details of Default Version APIs can be found at [api.default.md](https://github.com/DefTruth/lite.ai.toolkit/blob/main/docs/api/api.default.md) . For examples, the interface for YoloV5 is:
11881183

11891184
> `lite::cv::detection::YoloV5`
11901185
```c++
@@ -1198,7 +1193,7 @@ void detect(const cv::Mat &mat, std::vector<types::Boxf> &detected_boxes,
11981193
<summary> Expand for ONNXRuntime, MNN and NCNN version APIs.</summary>
11991194
12001195
### 4.2 ONNXRuntime Version APIs.
1201-
More details of ONNXRuntime Version APIs can be found at [onnxruntime-version-api-docs](https://github.com/DefTruth/lite.ai.toolkit/blob/main/docs/api/onnxruntime.md) . For examples, the interface for YoloV5 is:
1196+
More details of ONNXRuntime Version APIs can be found at [api.onnxruntime.md](https://github.com/DefTruth/lite.ai.toolkit/blob/main/docs/api/api.onnxruntime.md) . For examples, the interface for YoloV5 is:
12021197
12031198
> `lite::onnxruntime::cv::detection::YoloV5`
12041199
```c++

docs/api/default.md renamed to docs/api/api.default.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Default Version APIs.
22

3-
More details of basic types for Default Version APIs can be found at [types](https://github.com/DefTruth/litehub/blob/main/ort/core/ort_types.h) . Note that LiteHub uses `onnxruntime` as default backend, for the reason that onnxruntime supports the most of onnx's operators. `(TODO: Add detailed API documentation)`
3+
More details of basic types for Default Version APIs can be found at [types](https://github.com/DefTruth/lite.ai.toolkit/blob/main/ort/core/ort_types.h) . Note that Lite.AI.ToolKit uses `onnxruntime` as default backend, for the reason that onnxruntime supports the most of onnx's operators. `(TODO: Add detailed API documentation)`
44

55

66
> `lite::cv::detection::YoloV5`
File renamed without changes.
File renamed without changes.

docs/api/onnxruntime.md renamed to docs/api/api.onnxruntime.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ONNXRuntime Version APIs.
22

3-
More details of basic types for ONNXRuntime Version APIs can be found at [ort_types](https://github.com/DefTruth/litehub/blob/main/ort/core/ort_types.h) . `(TODO: Add detailed API documentation).`
3+
More details of basic types for ONNXRuntime Version APIs can be found at [ort_types](https://github.com/DefTruth/lite.ai.toolkit/blob/main/ort/core/ort_types.h) . `(TODO: Add detailed API documentation).`
44

55
> `lite::onnxruntime::cv::detection::YoloV5`
66
```c++
File renamed without changes.

docs/hub/lite.ai.toolkit.hub.mnn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Lite.AI.Hub.MNN
1+
# Lite.AI.ToolKit.Hub.MNN
22

33
* TODO

docs/hub/lite.ai.toolkit.hub.ncnn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Lite.AI.Hub.NCNN
1+
# Lite.AI.ToolKit.Hub.NCNN
22

33
* TODO

docs/hub/lite.ai.toolkit.hub.onnx.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Lite.AI.Hub.ONNX
1+
# Lite.AI.ToolKit.Hub.ONNX
22

3-
Correspondence between the classes in *Lite.AI* and pretrained model files can be found at this document. For examples, the pretrained model files for *lite::cv::detection::YoloV5* and *lite::cv::detection::YoloX* are listed as follows.
3+
Correspondence between the classes in *Lite.AI.ToolKit* and pretrained model files can be found at this document. For examples, the pretrained model files for *lite::cv::detection::YoloV5* and *lite::cv::detection::YoloX* are listed as follows.
44

55
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
66
| :---------------------------: | :-------------------: | :----------------------------------------------------------: | :---: |
@@ -34,7 +34,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
3434

3535
## Object Detection.
3636

37-
<div id="lite.ai.hub.onnx-object-detection"></div>
37+
<div id="lite.ai.toolkit.hub.onnx-object-detection"></div>
3838

3939
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
4040
| :-----------------------------------: | :-----------------------------: | :-------------------------------------------------------: | :---: |
@@ -103,7 +103,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
103103

104104
## Classification.
105105

106-
<div id="lite.ai.hub.onnx-classification"></div>
106+
<div id="lite.ai.toolkit.hub.onnx-classification"></div>
107107

108108

109109
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
@@ -121,7 +121,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
121121

122122
## Face Detection.
123123

124-
<div id="lite.ai.hub.onnx-face-detection"></div>
124+
<div id="lite.ai.toolkit.hub.onnx-face-detection"></div>
125125

126126
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
127127
| :---------------------------------: | :--------------------: | :----------------------------------------------------------: | :---: |
@@ -144,7 +144,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
144144

145145
## Face Alignment.
146146

147-
<div id="lite.ai.hub.onnx-face-alignment"></div>
147+
<div id="lite.ai.toolkit.hub.onnx-face-alignment"></div>
148148

149149

150150
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
@@ -161,7 +161,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
161161

162162
## Face Attributes.
163163

164-
<div id="lite.ai.hub.onnx-face-attributes"></div>
164+
<div id="lite.ai.toolkit.hub.onnx-face-attributes"></div>
165165

166166

167167
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
@@ -183,7 +183,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
183183

184184
## Face Recognition.
185185

186-
<div id="lite.ai.hub.onnx-face-recognition"></div>
186+
<div id="lite.ai.toolkit.hub.onnx-face-recognition"></div>
187187

188188

189189
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
@@ -220,7 +220,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
220220

221221
## Head Pose Estimation.
222222

223-
<div id="lite.ai.hub.onnx-head-pose-estimation"></div>
223+
<div id="lite.ai.toolkit.hub.onnx-head-pose-estimation"></div>
224224

225225

226226
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
@@ -231,7 +231,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
231231

232232
## Segmentation.
233233

234-
<div id="lite.ai.hub.onnx-segmentation"></div>
234+
<div id="lite.ai.toolkit.hub.onnx-segmentation"></div>
235235

236236

237237
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
@@ -242,7 +242,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
242242

243243
## Style Transfer.
244244

245-
<div id="lite.ai.hub.onnx-style-transfer"></div>
245+
<div id="lite.ai.toolkit.hub.onnx-style-transfer"></div>
246246

247247
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
248248
| :----------------------------------: | :------------------------: | :-------------------------------------------: | :---: |
@@ -260,7 +260,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
260260

261261
## Colorization.
262262

263-
<div id="lite.ai.hub.onnx-colorization"></div>
263+
<div id="lite.ai.toolkit.hub.onnx-colorization"></div>
264264

265265
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
266266
| :---------------------------------: | :-----------------------: | :-------------------------------------------------------: | :---: |
@@ -270,7 +270,7 @@ You can download all the pretrained models files of ONNX format from ([Baidu Dri
270270

271271
## Super Resolution.
272272

273-
<div id="lite.ai.hub.onnx-super-resolution"></div>
273+
<div id="lite.ai.toolkit.hub.onnx-super-resolution"></div>
274274

275275
| Class | Pretrained ONNX Files | Rename or Converted From (Repo) | Size |
276276
| :---------------------------------: | :-------------------: | :-------------------------------------------------------: | :---: |

0 commit comments

Comments
 (0)