Skip to content

Commit

Permalink
add postprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean authored and Dean committed Aug 7, 2021
1 parent e8396f4 commit 1abebf8
Show file tree
Hide file tree
Showing 71 changed files with 1,025 additions and 181 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ I divide Pointpillars model into two parts, pfe(include PillarFeatureNet) and rp
```shell
python tool/simplify_model.py
```
- step 5. Merge pfe.onnx and rpn.onnx. We use ScatterND node to connect pfe and rpn.
- step 5. Merge pfe.onnx and rpn.onnx. We use ScatterND node to connect pfe and rpn. TensorRT doesn't support ScatterND operater. If you want to run CenterPoint-pointpillars by TensorRT, you can run pfe.onnx and rpn.onnx respectively.
```shell
python tool/merge_pfe_rpn_model.py
```
Expand Down Expand Up @@ -167,6 +167,12 @@ Compare the [TensorRT result](./demo/trt_demo/file00.png) with [Pytorch result](
| :----: | :----: |
| ![avatar](./demo/trt_demo/file00.png) | ![avatar](./demo/torch_demo/file00.png) |

#### 3D detection on nuScenes Mini dataset
| | mAP | mATE | mASE | mAOE | mAVE | mAAE | NDS |
|---------|---------|--------|--------|---------|--------|-------|------- |
| Pytorch | 0.4163 | 0.4438 | 0.4516 | 0.5674 | 0.4429 | 0.3288| 0.4847 |
| TensorRT| 0.4007 | 0.4433 | 0.4537 | 0.5665 | 0.4416 | 0.3191| 0.4779 |

## License

CenterPoint is release under MIT license (see [LICENSE](LICENSE)). It is developed based on a forked version of [det3d](https://github.com/poodarchu/Det3D/tree/56402d4761a5b73acd23080f537599b0888cce07). We also incorperate a large amount of code from [CenterNet](https://github.com/xingyizhou/CenterNet)
Expand Down
Loading

0 comments on commit 1abebf8

Please sign in to comment.