Skip to content

Commit

Permalink
release 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
grimoire committed Aug 29, 2021
1 parent 6be5f08 commit 4afd965
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This project is released under the [Apache 2.0 license](LICENSE).
```

- install [amirstan_plugin](https://github.com/grimoire/amirstan_plugin):
- Install tensorrt7: [TensorRT](https://developer.nvidia.com/tensorrt)
- Install tensorrt: [TensorRT](https://developer.nvidia.com/tensorrt)
- clone repo and build plugin

```bash
Expand All @@ -51,7 +51,7 @@ This project is released under the [Apache 2.0 license](LICENSE).
make -j10
```

- **DON'T FORGET** setting the envoirment variable(in ~/.bashrc):
- **DON'T FORGET** setting the envoirment variable(in `~/.bashrc`):
```bash
export AMIRSTAN_LIBRARY_PATH=${amirstan_plugin_root}/build/lib
Expand Down Expand Up @@ -136,7 +136,7 @@ with open(save_engine_path, mode='wb') as f:
```
**Note**:
- The input of the engine is the tensor after preprocess.
- The input of the engine is the tensor **after preprocess**.
- The output of the engine is `num_dets, bboxes, scores, class_ids`. if you enable the `enable_mask` flag, there will be another output `mask`.
- The bboxes output of the engine did not divided by `scale factor`.
Expand Down Expand Up @@ -212,10 +212,9 @@ Read [how-does-it-work](https://github.com/NVIDIA-AI-IOT/torch2trt#how-does-it-w
Tested on:
- torch=1.8.1
- tensorrt=7.2.1.6
- tensorrt=8.0.1.6
- mmdetection=2.14.0
- cuda=10.2
- cudnn=8.0.2.39
- cuda=11.1
If you find any error, please report it in the issue.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def run(self):

setup(
name='mmdet2trt',
version='0.4.1',
version='0.5.0',
author='q.yao',
author_email='[email protected]',
description='mmdetection to tensorrt converter',
Expand Down

0 comments on commit 4afd965

Please sign in to comment.