Skip to content
Snippets Groups Projects
Commit 0e60e20d authored by zhangwenwei's avatar zhangwenwei
Browse files

Merge branch 'pipeline_doc' into 'master'

update pipeline doc

See merge request open-mmlab/mmdet.3d!144
parents a41024ee 5f2fb676
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ defines how to process the annotations and a data pipeline defines all the steps ...@@ -15,7 +15,7 @@ defines how to process the annotations and a data pipeline defines all the steps
A pipeline consists of a sequence of operations. Each operation takes a dict as input and also output a dict for the next transform. A pipeline consists of a sequence of operations. Each operation takes a dict as input and also output a dict for the next transform.
We present a classical pipeline in the following figure. The blue blocks are pipeline operations. With the pipeline going on, each operator can add new keys (marked as green) to the result dict or update the existing keys (marked as orange). We present a classical pipeline in the following figure. The blue blocks are pipeline operations. With the pipeline going on, each operator can add new keys (marked as green) to the result dict or update the existing keys (marked as orange).
![pipeline figure](../../demo/data_pipeline.png) ![pipeline figure](../../resources/data_pipeline.png)
The operations are categorized into data loading, pre-processing, formatting and test-time augmentation. The operations are categorized into data loading, pre-processing, formatting and test-time augmentation.
...@@ -91,8 +91,8 @@ For each operation, we list the related dict fields that are added/updated/remov ...@@ -91,8 +91,8 @@ For each operation, we list the related dict fields that are added/updated/remov
`LoadPointsFromMultiSweeps` `LoadPointsFromMultiSweeps`
- update: points - update: points
`LoadAnnotations` `LoadAnnotations3D`
- add: gt_bboxes_3d, gt_labels_3d, pts_instance_mask, pts_semantic_mask, bbox3d_fields, pts_mask_fields, pts_seg_fields - add: gt_bboxes_3d, gt_labels_3d, gt_bboxes, gt_labels, pts_instance_mask, pts_semantic_mask, bbox3d_fields, pts_mask_fields, pts_seg_fields
### Pre-processing ### Pre-processing
...@@ -122,7 +122,7 @@ For each operation, we list the related dict fields that are added/updated/remov ...@@ -122,7 +122,7 @@ For each operation, we list the related dict fields that are added/updated/remov
### Formatting ### Formatting
`DefaultFormatBundle3D` `DefaultFormatBundle3D`
- update: voxels, coors, voxel_centers, num_points, points, gt_bboxes_3d, gt_labels_3d, gt_bboxes, gt_labels - update: points, gt_bboxes_3d, gt_labels_3d, gt_bboxes, gt_labels
`Collect3D` `Collect3D`
- add: img_meta (the keys of img_meta is specified by `meta_keys`) - add: img_meta (the keys of img_meta is specified by `meta_keys`)
......
resources/data_pipeline.png

86.5 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment