1. 14 May, 2021 1 commit
  2. 12 May, 2021 1 commit
    • Ziyi Wu's avatar
      [Feature] Support PointNet++ Segmentor (#528) · 9d852f17
      Ziyi Wu authored
      * build BaseSegmentor for point sem seg
      
      * add encoder-decoder segmentor
      
      * update mmseg dependency
      
      * fix linting errors
      
      * warp predicted seg_mask in dict
      
      * add unit test
      
      * use build_model to wrap detector and segmentor
      
      * fix compatibility with mmseg
      
      * faster sliding inference
      
      * merge master
      
      * configs for training on ScanNet
      
      * fix CI errors
      
      * add comments & fix typos
      
      * hard-code class_weight into configs
      
      * fix logger bugs
      
      * update segmentor unit test
      
      * logger use mmdet3d
      
      * use eps to replace hard-coded 1e-3
      
      * add comments
      
      * replace np operation with torch code
      
      * add comments for class_weight
      
      * add comment for BaseSegmentor.simple_test
      
      * rewrite EncoderDecoder3D to avoid inheriting from mmseg
      9d852f17
  3. 11 May, 2021 1 commit
  4. 08 May, 2021 1 commit
    • Ziyi Wu's avatar
      [Feature] Support PointNet++ decode head (#479) · 53e06229
      Ziyi Wu authored
      * support PN2 decode head
      
      * add mmseg dependency in github workflow
      
      * complete PN2 decode head
      
      * modify backbone pn2 to support seg task & its unit test
      
      * add unit test for PN2 decode_head
      53e06229
  5. 30 Apr, 2021 1 commit
    • Ziyi Wu's avatar
      [Enhance] Add waymo unit test (#455) · 951b5219
      Ziyi Wu authored
      * add sample data for waymo dataset unit test
      
      * support getitem unit test
      
      * unit test for show
      
      * unfinished evaluate unit test
      
      * KITTI format evaluate done, Waymo format uncomplete
      
      * add format_results unit test
      
      * make waymo sample data size small
      
      * remove unused comment
      
      * add pipeline show test
      
      * finish
      
      * compress img size
      951b5219
  6. 28 Apr, 2021 1 commit
  7. 27 Apr, 2021 1 commit
  8. 23 Apr, 2021 2 commits
    • twang's avatar
      [Feature] Support FCOS3D head (#442) · f7356f4b
      twang authored
      * Support base mono3d dense head and anchor free mono3d head
      
      * Support FCOS3D head
      
      * Support FCOS3D baseline on nuScenes
      
      * Fix an import error caused by update of mmcv/mmdet
      
      * Change img_scale to scale_factor in the MultiScaleFlipAug in the config
      
      * Add pred_bbox2d in the params of anchor_free_mono3d_head
      
      * Add unit test for fcos3d head
      
      * Fix a minor bug when setting img_metas in the unit test
      
      * Add unit test for fcos3d detector
      
      * Simplify the logic of weights initialization
      
      * Add comments to specify the reason of cloning features
      
      * Update head config
      f7356f4b
    • Ziyi Wu's avatar
      [Feature] Support S3DIS data pre-processing and dataset class (#433) · a0090aa1
      Ziyi Wu authored
      * support S3DIS data download and pre-processing (to ScanNet format)
      
      * add S3DIS data for unittest
      
      * add S3DIS semseg dataset class and unittest
      
      * add config file for S3DIS dataset
      
      * add eval_pipeline to S3DIS dataset config file
      
      * clean code for S3DIS pre-processing scripts
      
      * reformat code
      
      * fix small bugs
      
      * resolve conflicts & modify show() to use pipeline
      
      * fix small errors
      
      * polish data pre-processing code
      
      * add more comments about S3DIS dataset
      
      * fix markdown lint error
      a0090aa1
  9. 19 Apr, 2021 2 commits
    • Ziyi Wu's avatar
      [Enhance] Add pipeline for data loading (#430) · 78c29c35
      Ziyi Wu authored
      * reuse pipeline in scannet-det dataset
      
      * reuse pipeline in kitti dataset
      
      * reuse pipeline in lyft dataset
      
      * reuse pipeline in sunrgbd dataset
      
      * reuse pipeline in nuscenes dataset
      
      * reuse pipeline in waymo dataset
      
      * reuse pipeline in scannet-seg dataset
      
      * add eval_pipeline in configs which have custom data pipelines
      
      * move data loading via pipeline to dataset._extract_data() for clarity
      
      * use eval_pipeline in tools/misc/visualize_results.py
      
      * get_pipeline from self when no pipeline is provided
      
      * fix small bugs
      
      * fix small bugs
      
      * simplify and clear code
      
      * remove unnecessary eval_pipeline added
      
      * add comment about why we set self.test_mode=False
      
      * small fix
      
      * modify docs about config
      78c29c35
    • Ziyi Wu's avatar
      [Enhance] Pipeline function process points and masks simultaneously (#444) · d4d7af24
      Ziyi Wu authored
      * modify PointShuffle and add unittest
      
      * modify PointsRangeFilter and add unittest
      
      * fix small bugs in IndoorPointSample
      
      * fix small typos in docstring
      d4d7af24
  10. 16 Apr, 2021 1 commit
  11. 12 Apr, 2021 2 commits
    • twang's avatar
      [Feature] Support monocular 3D detection on KITTI (#415) · e37f5d5e
      twang authored
      * Support nuscenes mono3d json info generation
      
      * Support nuscenes mono3d dataset class
      
      * Support attribute and bbox2d prediction in bbox3dnms and bbox3d2result
      
      * Rename dataset class and add comments to 'attrs'
      
      * Support mono3d related pipelines
      
      * Fix unittest for loading 3D annotations
      
      * Add unit test for nuscenes mono3d dataset
      
      * Rename the sample result file
      
      * Upload sample data for mono3d unit test
      
      * Upload sample data for mono3d unit test
      
      * Upload sample image for unit test
      
      * Delete tests/data/nuscenes/samples/LIDAR_TOP/CAM_BACK_LEFT directory
      
      * Add files via upload
      
      * Remove unnecessary 'f'
      
      * Remove unnecessary \ in arguments
      
      * Remove check for pycocotools version because it has been done in the cocodataset
      
      * Remove unnecessary comma, add TODO and change init of attrs in format_results
      
      * Merge RandomFlip3D and RandomFlipMono3D
      
      * Add pytest to check whether cuda is available in the unit test
      
      * Support monocular 3D detection on KITTI dataset
      
      * Add visualization TODO
      
      * Merge nus_mono3d and update dataset init
      
      * Remove duplicated loading images in mono3d
      
      * Remove aos evaluation of bbox2d predictions on KITTI
      
      * Add unit test for kitti mono3d dataset
      
      * Add accidentally deleted classes in the dataset init
      
      * Replace .format with f-string in kitti dataset
      
      * Clean comma
      
      * Toy data for unit test of kitti mono dataset
      
      * Sample image data for unit test
      e37f5d5e
    • Ziyi Wu's avatar
      [Feature] Support ScanNet test results submission to online benchmark (#418) · a03100ea
      Ziyi Wu authored
      * add format_results function for ScanNet test set results submission
      
      * support ScanNet test set data pre-processing
      
      * replace is_train with test_mode for better consistency
      
      * fix link error in docstring
      a03100ea
  12. 08 Apr, 2021 1 commit
    • Ziyi Wu's avatar
      [Feature] Support multi-modality visualization (demos and dataset show function) (#405) · e21e61e0
      Ziyi Wu authored
      
      
      * uncomplete
      
      * support lidar2img loading
      
      * add box_type_3d args in MVX-Net config file
      
      * support multi-modality demo for LiDAR point clouds
      
      * support multi-modality demo for indoor (depth) point clouds
      
      * move demo data into folder and modify docs
      
      * add input check & more general filename matching
      
      * update docs for demo and add README file for demo
      
      * add score_threshold option to demos
      
      * add data for ScanNet & KITTI dataset multi-modality test
      
      * add multi-modality visualization in ScanNet and KITTI dataset
      
      * add unittest for modified visualization function
      
      * delete saved temp file and dirs in unittests using TemporaryDirectory
      
      * fix typos in docs & move README of demos to docs/
      
      * add demo docs to documentation
      
      * fix link error
      Co-authored-by: default avatarwHao-Wu <wenhaowu.chn@gmail.com>
      e21e61e0
  13. 07 Apr, 2021 3 commits
    • twang's avatar
      [Feature] Support monocular 3D detection on nuScenes (#392) · ecd0d06a
      twang authored
      * Support nuscenes mono3d json info generation
      
      * Support nuscenes mono3d dataset class
      
      * Support attribute and bbox2d prediction in bbox3dnms and bbox3d2result
      
      * Rename dataset class and add comments to 'attrs'
      
      * Support mono3d related pipelines
      
      * Fix unittest for loading 3D annotations
      
      * Add unit test for nuscenes mono3d dataset
      
      * Rename the sample result file
      
      * Upload sample data for mono3d unit test
      
      * Upload sample data for mono3d unit test
      
      * Upload sample image for unit test
      
      * Delete tests/data/nuscenes/samples/LIDAR_TOP/CAM_BACK_LEFT directory
      
      * Add files via upload
      
      * Remove unnecessary 'f'
      
      * Remove unnecessary \ in arguments
      
      * Remove check for pycocotools version because it has been done in the cocodataset
      
      * Remove unnecessary comma, add TODO and change init of attrs in format_results
      
      * Merge RandomFlip3D and RandomFlipMono3D
      
      * Add pytest to check whether cuda is available in the unit test
      
      * Add visualization TODO
      
      * Remove useless init in loading mono3d images
      ecd0d06a
    • zhanggefan's avatar
      [Fix] fix dynamic_scatter 'invalid configuration argument error' triggered by empty point input · 3a5a2010
      zhanggefan authored
      - fix 'invalid configuration argument' error triggered by empty point input. test cases covering similar situations are added to test_dynamic_scatter.py as well.
      trivial changes:
      - switch to using torch::unique_dim to generate reduce mapping instead of calculating it from scratch.
      3a5a2010
    • Ziyi Wu's avatar
      [Feature] Support ScanNet semantic segmentation dataset (#390) · 9cb75e7d
      Ziyi Wu authored
      * remove max_num_point in ScanNet data preprocessing
      
      * add config file for ScanNet semantic segmentation dataset
      
      * modify NormalizePointsColor in pipeline
      
      * add visualization function for semantic segmentation
      
      * add ignore_index to semantic segmentation visualization function
      
      * add ignore_index to semantic segmentation evaluation function
      
      * fix ignore_index bug in semantic segmentation evaluation function
      
      * add test function to check ignore_index assignment in PointSegClassMapping
      
      * fix slicing bug in BasePoints class and add unittest
      
      * add IndoorPatchPointSample class for indoor semantic segmentation data loading and add unittest
      
      * modify LoadPointsFromFile class and its unittest to support point color loading
      
      * fix data path in unittest
      
      * add setter function for coord and attributes of BasePoint and modify unittest
      
      * modify color normalization operation to work on BasePoint class
      
      * add unittest for ScanNet semantic segmentation data loading pipeline
      
      * fix ignore_index bug in seg_eval function
      
      * add ScanNet semantic segmentation dataset and unittest
      
      * modify config file for ScanNet semantic segmentation
      
      * fix visualization function and modify unittest
      
      * fix a typo in seg_eval.py
      
      * raise exception when semantic mask is not provided in train/eval data loading
      
      * support custom computation of label weight for loss calculation
      
      * modify seg_eval function to be more efficient
      
      * fix small bugs & change variable names for clarity & add more cases to unittest
      
      * move room index resampling and label weight computation to data pre-processing
      
      * add option allowing user to determine whether to sub-sample point clouds
      
      * fix typos & change .format to f-string & fix link in comment
      
      * save all visualizations into .obj format for consistency
      
      * infer num_classes from label2cat in eval_seg function
      
      * add pre-computed room index and label weight for ScanNet dataset
      
      * replace .ply with .obj in unittests and documents
      
      * add TODO in case data is on ceph
      
      * add base dataset for all semantic segmentation tasks & add ScanNet dataset inheriting from base dataset
      
      * rename class for consistency
      
      * fix minor typos in comment
      
      * move Custom3DSegDataset to a new file
      
      * modify BasePoint setter function to enable attribute adding
      
      * add unittest for NormalizePointsColor and fix small bugs
      
      * fix unittest for BasePoints
      
      * modify ScanNet data pre-processing scripts
      
      * change ignore_idx to -1 in seg_eval function
      
      * remove sliding inference from PatchSample function and modify unittest
      
      * remove PatchSample from scannet seg test_pipeline
      9cb75e7d
  14. 31 Mar, 2021 1 commit
  15. 28 Mar, 2021 1 commit
    • Ziyi Wu's avatar
      [Fix] Fix typos and errors (#386) · dabf0a26
      Ziyi Wu authored
      * fix link to convert_votenet_checkpoints.py
      
      * remove redundant space in docstring
      
      * fix typos
      
      * fix link and latex citation in README
      
      * fix link error for publish_model.py
      
      * fix link error for regnet2mmdet.py
      
      * fix link error for files under tools/misc/ folder
      
      * fix link error for files under tools/analysis_tools/ folder
      
      * fix latex citation in README_zh-CN.md
      
      * fix typo and a link to mmdet
      dabf0a26
  16. 26 Mar, 2021 1 commit
  17. 24 Mar, 2021 1 commit
    • Yezhen Cong's avatar
      [Feature] Support ImVoteNet complete model (#352) · 4eed122d
      Yezhen Cong authored
      
      
      * Added image loading in SUNRGB-D dataset (#195)
      
      * image loading
      
      * format and docstring fix
      
      * removed irrelevant files
      
      * removed irrelevant files
      
      * load image only if modality is pc+img
      
      * added modality like nuscenes
      
      * Added imvotenet image branch pretrain (#217)
      
      * image loading
      
      * naive commit
      
      * format and docstring fix
      
      * removed irrelevant files
      
      * removed irrelevant files
      
      * load image only if modality is pc+img
      
      * added modality like nuscenes
      
      * pretrain_2d_model
      
      * finetune sunrgbd
      
      * finetune sunrgbd
      
      * deleted unused code
      
      * fixed a bug
      
      * resolve conflict
      
      * update config file
      
      * fix docstring and configs
      
      * integrated vote fusion
      
      * coords transform and unit test
      
      * Update docstring
      
      * refactor and add unit test
      
      * fix bug caused by mmcv upgrade; delete pdb breakpoint
      
      * add point fusion unittest
      
      * remove unused file
      
      * fix typos
      
      * updates
      
      * add assertion info
      
      * update
      
      * add unittest
      
      * add vote fusion unittest
      
      * add vote fusion unittest
      
      * [Refactor] VoteNet refactor (#322)
      
      * votenet refactor
      
      * remove file
      
      * minor update
      
      * docstring
      
      * initial update of imvotenet
      
      * [Feature] Support vote fusion (#297)
      
      * integrated vote fusion
      
      * coords transform and unit test
      
      * Update docstring
      
      * refactor and add unit test
      
      * add point fusion unittest
      
      * remove unused file
      
      * updates
      
      * add assertion info
      
      * update
      
      * add unittest
      
      * add vote fusion unittest
      
      * add vote fusion unittest
      
      * minor update
      
      * docstring
      
      * change np ops to torch
      
      * refactor test
      
      * update
      
      * refactor of image mlp and np random ops to torch
      
      * add docstring
      
      * add config and mod dataset
      
      * fix bugs
      
      * add_comments
      
      * fix bugs
      
      * fix_bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * final fix
      
      * fix bug
      
      * ?
      
      * add docstring
      
      * move train/test cfg
      
      * change img mlp default param
      
      * rename config
      
      * minor mod
      
      * change config name
      
      * move train/test cfg
      
      * some fixes and 2d utils
      
      * fix config name
      
      * fix config override issue
      
      * config simplify & reformat
      
      * explicitly set eval mode->override train()
      
      * add fix_img_branch to config
      
      * remove set_img_branch_eval_mode
      
      * temporal fix, change calibs to calib
      
      * more docstring and view/reshape, expand/repeat change
      
      * complete imvotenet docstring
      
      * fix docstring
      
      * add config and some minor fix
      
      * rename config
      Co-authored-by: default avatarZwwWayne <wayne.zw@outlook.com>
      4eed122d
  18. 23 Mar, 2021 1 commit
  19. 17 Mar, 2021 2 commits
    • Yezhen Cong's avatar
      [Feature] Support knn gpu op (#360) · 5f99b50e
      Yezhen Cong authored
      * support knn gpu op
      
      * made it more robust and fixed comments
      5f99b50e
    • junhaozhang98's avatar
      [Feature] Support semantic seg metrics (#332) · 573946a8
      junhaozhang98 authored
      * add ini
      
      * add semantickitti_dataset
      
      * add test semantickitti_dataset
      
      * delete last line in test_semmaticdataset
      
      * add test data
      
      * change_names
      
      * load_labels dytype
      
      * change_name
      
      * numpy
      
      * name
      
      * dtype string
      
      * minor issue-string
      
      * seg_3d_dtype
      
      * add_fast hist
      
      * add per_class iou
      
      * add seg_eval
      
      * add unitest
      
      * minor error
      
      * minor error2
      
      * minor error3
      573946a8
  20. 25 Feb, 2021 2 commits
    • zhanggefan's avatar
      A faster & more memory-efficient implementation of DynamicScatter (#318) · 93597a53
      zhanggefan authored
      
      
      * a faster & more memory-efficient implementation of DynamicScatter
      
      * fix format issues and add pytest skip code for tests on machines without cuda support
      
      * some trivial changes:
      
      decrease the number of kernel threads per block to 512, to enable inference on GPUs with computing capability lower than 2.0
      
      change the backpropagation behavior of max-reduction. when there are multiple points shares the same maximum feature value, only the first point (with lowest row index) among them is chosen to propagate the output gradient back. before this change, all points with the same maximum feature value can propagate the output gradient back. this change makes the max-reduction behaves in consistence with torch.max. this change may cause gradcheck failure in test_dynamic_scatter.py. please do not worry about it because torch.max fails the gradcheck too.
      
      * fix typo
      Co-authored-by: default avatarzhanggefan <1152009@tongji.edu.cn>
      93597a53
    • encore-zhou's avatar
      [Feature] Support open3d visualization (#284) · 8214a977
      encore-zhou authored
      * add h3d backbone
      
      * add h3d backbone
      
      * add h3dnet
      
      * modify scannet config
      
      * fix bugs for proposal refine
      
      * fix bugs for test backbone
      
      * add primitive head test
      
      * modify h3dhead
      
      * modify h3d head
      
      * update loss weight config
      
      * fix bugs for h3d head loss
      
      * modify h3d head get targets function
      
      * update h3dnet base config
      
      * modify weighted loss
      
      * Revert "Merge branch 'h3d_u2' into 'master'"
      
      This reverts merge request !5
      
      * add open3d visual
      
      * modify docstring
      
      * use bbox and coord convert
      
      * modify docstring
      
      * fix bugs for unittest
      
      * fix bugs for unittest
      
      * modify doc
      
      * add visualize script and modify docs
      
      * modify docs
      
      * fix bugs
      8214a977
  21. 24 Feb, 2021 1 commit
  22. 23 Feb, 2021 1 commit
    • xiliu8006's avatar
      [Enhance] Move train_cfg test_cfg to model (#307) · a481f5a8
      xiliu8006 authored
      * Move train_cfg/test_cfg to model
      
      * Move train_cfg/test_cfg to model
      
      * Move train_cfg/test_cfg to model
      
      * Move train_cfg/test_cfg to model
      
      * Move train_cfg/test_cfg to model
      
      * Move train_cfg/test_cfg to model
      
      * Move train_cfg/test_cfg to model
      
      * Move train_cfg and test_cfg into model
      
      * modify centerpoint configs
      
      * Modify docs
      
      * modify build_detector
      
      * modify test_config_build_detector
      
      * modify build_detector parameters
      
      * Adopt the same strategy in build_detector
      a481f5a8
  23. 17 Feb, 2021 1 commit
  24. 10 Feb, 2021 2 commits
  25. 01 Feb, 2021 1 commit
    • junhaozhang98's avatar
      [Feature] SemanticKITTI Dataset (#287) · b0501727
      junhaozhang98 authored
      * add ini
      
      * add semantickitti_dataset
      
      * add test semantickitti_dataset
      
      * delete last line in test_semmaticdataset
      
      * add test data
      
      * change_names
      
      * load_labels dytype
      
      * change_name
      
      * numpy
      
      * name
      
      * dtype string
      
      * minor issue-string
      
      * seg_3d_dtype
      b0501727
  26. 23 Jan, 2021 1 commit
    • xiliu8006's avatar
      Fix miss text (#278) · 87b05bae
      xiliu8006 authored
      * fixed the bug about miss text files on kitti testing
      
      * add bbox2result_kitti unit test
      
      * add bbox2result_kitti unit test
      
      * add exist_submission_file unit test
      
      * deleted debug code and convert{} to dict()
      
      * add _get_kitti_dataset_config()
      
      * delete print
      87b05bae
  27. 22 Jan, 2021 1 commit
  28. 16 Dec, 2020 1 commit
  29. 28 Nov, 2020 1 commit
    • encore-zhou's avatar
      [Enhance] Use Points structure in augmentation and models (#204) · 23768cba
      encore-zhou authored
      * add h3d backbone
      
      * add h3d backbone
      
      * add h3dnet
      
      * modify scannet config
      
      * fix bugs for proposal refine
      
      * fix bugs for test backbone
      
      * add primitive head test
      
      * modify h3dhead
      
      * modify h3d head
      
      * update loss weight config
      
      * fix bugs for h3d head loss
      
      * modify h3d head get targets function
      
      * update h3dnet base config
      
      * modify weighted loss
      
      * Revert "Merge branch 'h3d_u2' into 'master'"
      
      This reverts merge request !5
      
      * modify pipeline
      
      * modify kitti pipeline
      
      * fix bugs for points rotation
      
      * modify multi sweeps
      
      * modify multi sweep points
      
      * fix bugs for points slicing
      
      * modify BackgroundPointsFilter
      
      * modify pipeline
      
      * modify unittest
      
      * modify unittest
      
      * modify docstring
      
      * modify config files
      
      * update configs
      
      * modify docstring
      23768cba
  30. 22 Nov, 2020 1 commit
  31. 14 Nov, 2020 1 commit
    • encore-zhou's avatar
      [Feature]: Add points structure (#196) · 20b163a4
      encore-zhou authored
      * add h3d backbone
      
      * add h3d backbone
      
      * add h3dnet
      
      * modify scannet config
      
      * fix bugs for proposal refine
      
      * fix bugs for test backbone
      
      * add primitive head test
      
      * modify h3dhead
      
      * modify h3d head
      
      * update loss weight config
      
      * fix bugs for h3d head loss
      
      * modify h3d head get targets function
      
      * update h3dnet base config
      
      * modify weighted loss
      
      * Revert "Merge branch 'h3d_u2' into 'master'"
      
      This reverts merge request !5
      
      * add points structure
      
      * modify points rotation and add coord_3d_mode unittest
      
      * modify docstring
      20b163a4
  32. 21 Oct, 2020 1 commit
    • yinchimaoliang's avatar
      [Feature]: Add double flip (#143) · ffcea26c
      yinchimaoliang authored
      * Able to double_flip test.
      
      * Remove nms_post_max_size
      
      * Able to merge then nms for tta.
      
      * Able to merge then nms for tta.
      
      * reproducible performance.
      
      * Add more configs.
      
      * Able to use scale tta.
      
      * Move scale aug to merge_aug_bboxes_3d
      
      * Remove brackets, add comments.
      
      * Delete unnecessary configs, Add instruction in README.
      
      * Add docstring.
      
      * Change readme, add empty line.
      
      * Change name.
      
      * Add tta in unittest.
      
      * Add 'to cpu'
      
      * Add simple test
      
      * Move 'to cpu'
      
      * Add full tta config
      
      * Delete circle_nms tta config, change max_num.
      
      * Update benchmark
      
      * Remove unnecessary code, move position of flip.
      
      * Complete docstring.
      
      * Add comment for double flip change.
      ffcea26c