Skip to content

Commit

Permalink
docs: change ros params and references
Browse files Browse the repository at this point in the history
Signed-off-by: yukke42 <[email protected]>
  • Loading branch information
yukke42 authored and yukke42 committed Mar 16, 2022
1 parent da7d878 commit c8db6e2
Showing 1 changed file with 5 additions and 26 deletions.
31 changes: 5 additions & 26 deletions perception/lidar_centerpoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ We trained the models using <https://github.com/open-mmlab/mmdetection3d>.

### Output

| Name | Type | Description |
| ---------------------------------- | ----------------------------------------------------- | ------------------------ |
| `~/output/objects` | `autoware_auto_perception_msgs::msg::DetectedObjects` | detected objects |
| `~/debug/pointcloud_densification` | `sensor_msgs::msg::PointCloud2` | densification pointcloud |
| Name | Type | Description |
| ------------------ | ----------------------------------------------------- | ---------------- |
| `~/output/objects` | `autoware_auto_perception_msgs::msg::DetectedObjects` | detected objects |

## Parameters

Expand All @@ -34,30 +33,16 @@ We trained the models using <https://github.com/open-mmlab/mmdetection3d>.
| `score_threshold` | float | `0.4` | detected objects with score less than threshold are ignored |
| `densification_world_frame_id` | string | `map` | the world frame id to fuse multi-frame pointcloud |
| `densification_num_past_frames` | int | `1` | the number of past frames to fuse with the current frame |
| `use_encoder_trt` | bool | `false` | use TensorRT VoxelFeatureEncoder |
| `use_head_trt` | bool | `true` | use TensorRT DetectionHead |
| `trt_precision` | string | `fp16` | TensorRT inference precision: `fp32` or `fp16` |
| `encoder_onnx_path` | string | `""` | path to VoxelFeatureEncoder ONNX file |
| `encoder_engine_path` | string | `""` | path to VoxelFeatureEncoder TensorRT Engine file |
| `encoder_pt_path` | string | `""` | path to VoxelFeatureEncoder TorchScript file |
| `head_onnx_path` | string | `""` | path to DetectionHead ONNX file |
| `head_engine_path` | string | `""` | path to DetectionHead TensorRT Engine file |
| `head_pt_path` | string | `""` | path to DetectionHead TorchScript file |

## Assumptions / Known limits

- The `object.existence_probability` is stored the value of classification confidence of a DNN, not probability.

- If you have an error like `'GOMP_4.5' not found`, replace the OpenMP library in libtorch.

```bash
sudo apt install libgomp1 -y
sudo rm /usr/local/libtorch/lib/libgomp-75eea7e8.so.1
sudo ln -s /usr/lib/x86_64-linux-gnu/libgomp.so.1 /usr/local/libtorch/lib/libgomp-75eea7e8.so.1
```

- if `use_encoder_trt` is set `use_encoder_trt`, more GPU memory is allocated.

## (Optional) Error detection and handling

<!-- Write how to detect errors and how to recover from them.
Expand Down Expand Up @@ -92,15 +77,9 @@ Example:

[5] <https://github.com/open-mmlab/OpenPCDet>

[6] <https://github.com/poodarchu/Det3D>
[7] <https://github.com/xingyizhou/CenterNet>
[8] <https://github.com/lzccccc/SMOKE>
[9] <https://github.com/yukkysaito/autoware_perception>
[6] <https://github.com/yukkysaito/autoware_perception>

[10] <https://github.com/pytorch/pytorch>
[7] <https://github.com/NVIDIA-AI-IOT/CUDA-PointPillars>

## (Optional) Future extensions / Unimplemented parts

Expand Down

0 comments on commit c8db6e2

Please sign in to comment.