Skip to content

Commit c4fd9ca

Browse files
committed
update readme
1 parent 95b9b3b commit c4fd9ca

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ All the models are implemented in pytorch/mxnet/tensorflown first, and export a
1010

1111
## News
1212

13+
- `24 Jan 2021`. IBN-Net added by [TCHeish](https://github.com/TCHeish), PSENet optimized, YOLOv5 v4.0 INT8, etc.
1314
- `8 Jan 2021`. YOLOv5 s/m/l/x updated to v4.0.
1415
- `27 Dec 2020`. HRNet-Semantic-Segmentation added by [BaofengZan](https://github.com/BaofengZan).
1516
- `4 Dec 2020`. DBNet dynamic input shape support by [BaofengZan](https://github.com/BaofengZan), YOLOv3 int8, PSENet(tensorflow) text detection by [upczww](https://github.com/upczww).
@@ -18,13 +19,10 @@ All the models are implemented in pytorch/mxnet/tensorflown first, and export a
1819
- `7 Nov 2020`. All models migrated to trt7 API, and clean up the master branch.
1920
- `29 Oct 2020`. First INT8 quantization implementation! Please check retinaface.
2021
- `23 Oct 2020`. Add a .wts model zoo for quick evaluation.
21-
- `21 Sep 2020`. [BaofengZan](https://github.com/BaofengZan) added hrnet classification and step by step tutorial(Chinese).
2222
- `16 Sep 2020`. [hwh-hit](https://github.com/hwh-hit) added ufld(Ultra-Fast-Lane-Detection, ECCV2020).
2323
- `13 Sep 2020`. Add crnn, and got 1000fps on GTX1080.
2424
- `28 Aug 2020`. [BaofengZan](https://github.com/BaofengZan) added a tutorial for compiling and running tensorrtx on windows.
2525
- `16 Aug 2020`. [upczww](https://github.com/upczww) added a python wrapper for yolov5.
26-
- `14 Aug 2020`. Update yolov5 to v3.0 release.
27-
- `3 Aug 2020`. [BaofengZan](https://github.com/BaofengZan) implemented yolov5 s/m/l/x (yolov5 v2.0 release).
2826
- `28 May 2020`. arcface LResNet50E-IR model from [deepinsight/insightface](https://github.com/deepinsight/insightface) implemented. We got 333fps on GTX1080.
2927
- `22 May 2020`. A new branch [trt4](https://github.com/wang-xinyu/tensorrtx/tree/trt4) created, which is using TensorRT 4 API. Now the master branch is using TensorRT 7 API. But only `yolov4` has been migrated to TensorRT 7 API for now. The rest will be migrated soon. And a tutorial for `migarating from TensorRT 4 to 7` provided.
3028

arcface/README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,30 @@ The two input images used in this project are joey0.ppm and joey1.ppm, download
1010
<img src="https://user-images.githubusercontent.com/15235574/83122953-f45f8d80-a106-11ea-84b0-4f6ff91b5924.jpg">
1111
</p>
1212

13+
## Config
14+
15+
- FP16/FP32 can be selected by the macro `USE_FP16` in arcface-r50.cpp
16+
- GPU id can be selected by the macro `DEVICE` in arcface-r50.cpp
17+
1318
## Run
1419

15-
```
1620
1. generate arcface-r50.wts from mxnet implementation with LResNet50E-IR,ArcFace@ms1m-refine-v1 pretrained model
1721

22+
```
1823
git clone https://github.com/deepinsight/insightface
19-
cd insightface/deploy
24+
cd insightface
25+
git checkout 3866cd77a6896c934b51ed39e9651b791d78bb57
26+
cd deploy
2027
// copy tensorrtx/arcface/gen_wts.py to here(insightface/deploy)
2128
// download model-r50-am-lfw.zip and unzip here(insightface/deploy)
2229
python gen_wts.py
2330
// a file 'arcface-r50.wts' will be generated.
2431
// the master branch of insightface should work, if not, you can checkout 94ad870abb3203d6f31b049b70dd080dc8f33fca
32+
```
2533

2634
2. put arcface-r50.wts into tensorrtx/arcface, build and run
2735

36+
```
2837
cd tensorrtx/arcface
2938
// download joey0.ppm and joey1.ppm, and put here(tensorrtx/arcface)
3039
mkdir build
@@ -33,14 +42,9 @@ cmake ..
3342
make
3443
sudo ./arcface-r50 -s // serialize model to plan file i.e. 'arcface-r50.engine'
3544
sudo ./arcface-r50 -d // deserialize plan file and run inference
36-
37-
3. check the output log, latency and similarity score.
3845
```
3946

40-
## Config
41-
42-
- FP16/FP32 can be selected by the macro `USE_FP16` in arcface-r50.cpp
43-
- GPU id can be selected by the macro `DEVICE` in arcface-r50.cpp
47+
3. check the output log, latency and similarity score.
4448

4549
## More Information
4650

yolov5/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ python yolov5_trt.py
6666

6767
2. unzip it in yolov5/build
6868

69-
3. set the macro `USE_INT8` in yolov3.cpp and make
69+
3. set the macro `USE_INT8` in yolov5.cpp and make
7070

7171
4. serialize the model and test
7272

0 commit comments

Comments
 (0)