You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ All the models are implemented in pytorch first, and export a weights file xxx.w
12
12
13
13
-`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.
14
14
-`28 May 2020`. arcface LResNet50E-IR model from [deepinsight/insightface](https://github.com/deepinsight/insightface) implemented. We got 333fps on GTX1080.
15
+
-`2 June 2020`. yolov3 and yolov3-spp migrated to TensorRT 7 API. The new yolov3 is using pytorch implementation [ultralytics/yolov3](https://github.com/ultralytics/yolov3), the yolov3 in branch `trt4` was using pytorch implementation [ayooshkathuria/pytorch-yolo-v3](https://github.com/ayooshkathuria/pytorch-yolo-v3).
15
16
16
17
## Tutorials
17
18
@@ -44,8 +45,8 @@ Following models are implemented.
44
45
|[shufflenet](./shufflenetv2)| ShuffleNetV2 with 0.5x output channels |
45
46
|[squeezenet](./squeezenet)| SqueezeNet 1.1 model |
46
47
|[vgg](./vgg)| VGG 11-layer model |
47
-
|[yolov3](./yolov3)| darknet-53, weights from yolov3 authors, pytorch implementation from [ayooshkathuria/pytorch-yolo-v3](https://github.com/ayooshkathuria/pytorch-yolo-v3)|
48
-
|[yolov3-spp](./yolov3-spp)| darknet-53, weights from [ultralytics/yolov3](https://github.com/ultralytics/yolov3)|
48
+
|[yolov3](./yolov3)| darknet-53, weights and pytorch implementation from [ultralytics/yolov3](https://github.com/ultralytics/yolov3)|
49
+
|[yolov3-spp](./yolov3-spp)| darknet-53, weights and pytorch implementation from [ultralytics/yolov3](https://github.com/ultralytics/yolov3)|
49
50
|[yolov4](./yolov4)| CSPDarknet53, weights from [AlexeyAB/darknet](https://github.com/AlexeyAB/darknet#pre-trained-models), pytorch implementation from [ultralytics/yolov3](https://github.com/ultralytics/yolov3)|
50
51
|[retinaface](./retinaface)| resnet-50, weights from [biubug6/Pytorch_Retinaface](https://github.com/biubug6/Pytorch_Retinaface)|
51
52
|[arcface](./arcface)| LResNet50E-IR, weights from [deepinsight/insightface](https://github.com/deepinsight/insightface)|
@@ -63,8 +64,8 @@ Some tricky operations encountered in these models, already solved, but might ha
63
64
|torch.chunk()| implement the 'chunk(2, dim=C)' by tensorrt plugin, see shufflenet. |
64
65
|channel shuffle| use two shuffle layers to implement `channel_shuffle`, see shufflenet. |
65
66
|adaptive pool| use fixed input dimension, and use regular average pooling, see shufflenet. |
66
-
|leaky relu| I wrote a leaky relu plugin, but PRelu in `NvInferPlugin.h` can be used, see yolov3. |
67
-
|yolo layer v1| yolo layer is implemented as a plugin, see yolov3. |
67
+
|leaky relu| I wrote a leaky relu plugin, but PRelu in `NvInferPlugin.h` can be used, see yolov3 in branch `trt4`. |
68
+
|yolo layer v1| yolo layer is implemented as a plugin, see yolov3 in branch `trt4`. |
68
69
|yolo layer v2| three yolo layers implemented in one plugin, see yolov3-spp. |
69
70
|upsample| replaced by a deconvolution layer, see yolov3. |
70
71
|hsigmoid| hard sigmoid is implemented as a plugin, hsigmoid and hswish are used in mobilenetv3 |
@@ -76,7 +77,7 @@ Some tricky operations encountered in these models, already solved, but might ha
Thanks to Ayoosh Kathuria, for his remarkable tutorials of yolov3. The github link is [ayooshkathuria/pytorch-yolo-v3](https://github.com/ayooshkathuria/pytorch-yolo-v3).
3
+
The Pytorch implementation is [ultralytics/yolov3](https://github.com/ultralytics/yolov3). It provides two trained weights of yolov3, `yolov3.weights` and `yolov3.pt`
4
4
5
-
I forked his github repo, and implement inference_on_one_pic and export weights for tensorrt. You can refer to
5
+
This branch is using tensorrt7 API, there is also a yolov3 implementation using tensorrt4 API, go to [branch trt4/yolov3](https://github.com/wang-xinyu/tensorrtx/tree/trt4/yolov3), which is using [ayooshkathuria/pytorch-yolo-v3](https://github.com/ayooshkathuria/pytorch-yolo-v3).
0 commit comments