Code Monkey home page Code Monkey logo

lwsis's Introduction

LWSIS

An official implementation of AAAI2023 paper "LWSIS: LiDAR-guided Weakly Supervised Instance Segmentation for Autonomous Driving"

Models

Model Backbone Annotations Lr_schedule Mask_AP Download
BoxInst R-50 box 1x 33.65 link(访问码:pmw0)
BoxInst R-101 box 1x 34.39 link
PointSup R-50 box+point 1x 43.80 link
PointSup R-101 box+point 1x 44.72 link
LWSIS+BoxInst R-50 3dbox+pc 1x 35.65 link(访问码:hy6a)
LWSIS+BoxInst R-101 3dbox+pc 1x 36,22 link
LWSIS+PointSup R-50 3dbox+pc 1x 45.46 link
LWSIS+PointSup R-101 3dbox+pc 1x 46.17 link

Here we explain different annotations used in the exp. 'box' means only using the 2D bounding box annotation for each instance, 'point' means using a specific number of points with human annotation indicating the background/foreground, '3dbox' means using the 3D bounding box annotations for each instance and 'pc' means the original point cloud.

Install

First install Detectron2 following the official guide: INSTALL.md.

Please use Detectron2 with commit id 9eb4831 if you have any issues related to Detectron2.

Then build LWSIS with:

git clone [email protected]:Serenos/LWSIS.git
cd LWSIS
python setup.py build develop

Quick Start

  • Download the nuscenes origin datasets to ${HOME}/datasets/. The folder structure shall be like this:

    • nuscenes
      • annotations
      • lidarseg
      • maps
      • samples
      • sweeps
      • v1.0-trainval
      • v1.0-mini
  • Download nuInsSeg3d_train(访问码:4aml), nuInsSeg3d_val(访问码:luw8) and put it into the nuscenes/annotations folder.

  • Training

    bash tools/train.sh configs/BoxInst/MS_R_50_1x_nuscenes.yaml Boxinst_LWSIS 000
    
  • Evaluation

    bash tools/test.sh configs/BoxInst/MS_R_50_1x_nuscenes.yaml output/Boxinst_LWSIS/000/model_final.pth 
    

nuInsSeg Dataset and devkit

We supplement instance mask annotation for nuScenes dataset. For more detail, please follow the nuinsseg-devkit.

Acknowledgements

The authors are grateful to School of Computer Science, Beijing Institute of Technology, Shanghai AI Laboratory, Inceptio, 4SKL-IOTSC, CIS, University of Macau.

The code is based on Adlaidet.

lwsis's People

Contributors

serenos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lwsis's Issues

Condinst reproduction in waymo

When I reproduced CondInst, the results were different from those provided in the paper.
I train the ResNet50-Condinst for 90K iterations with batch size 16 on 4 3090 GPUs.
The results were as follows:
AP 32.015 AP50 57.328 AP75 30.931
CAR 43.365 Ped 33.444 Cyc 19.237
According to my observation, there is no instance id in waymo dataset with bicycle and ped object.

About Waymo experiment

How do you handle waymo instance annotations? I use waymo dataset to train the condinst and boxinst on mmdet2.x. But boxinst's mAP is higher then condisnt mAP.I suspect I mishandled the instance annotations.

Corrupted files in adet/modeling/condinst/

When I open adet/modeling/condinst/dynamic_mask_head.py and adet/modeling/condinst/register_lidar_annotations.py on Windows, I find that these two files are corrupted:
%TSD-Header-###%�ewzc{Iv��t�+��N� � @ � m�%x�t 8�P ����������~[H�4�6����73�⛌@��߮���V���R�������F;��as�����?�Q>J'��0Eߔ7q� a?��R��������~[H�4������72�G��@K�߮(��V���R�������~�4�oc������ڢ��br�HH��� F�����73����>���ga4y �Fo0Ȝ���0��͗Z���=�8�������Y��K���6A����p�����ܞ,$'�A�Xi��
Ӏx�T���х1g�X����O&q���$8���ˁ�q��>U((��3����4�(�t{�MA5?������V?O�k�g��� ���xeAQ�i�~y���bl��Y�lm���E!���0Ft�֯_�O������������������T�/��;���t��#�w�V���A��e�J���2��^#�����lF2.����F��у�l����Y�Djm��黄��K4���m>!vy��r��}̸���<N�6��E�h^Q ����T��� �E"�JX�̹F��y�=�"��:������ �f�������J�f��2��t*:��bϊQ9+��[�I�7g�����(���h?�J\�lI��D�������%vݭ1��C�����w�yο�]{��;ScB8Y6��{adi�r��4��M�Q>�������Oў��n7����$�-�l�q��ݍ�w��9L��X��L���\��ӇD͚���Q���e�ɐ����\���P'��O\�UG,=���3���!�;@j�W�Gϒ���(?��ǀ�cM�Y.<�����S�8���3'���e�G��4�2���������*\� �nFȒ��T��_��.݁AZc�J�|�@�q W�d�OL� Z�k :Ӱ�����>՚�����������pjv�{�g0 �s������wSoqSgyY�#�c�x��]!�b��ƭ�S<r[��C��B����6ߜ�����{�Z��z�oS����@\���o��;9������)���l���w��ޣk��_��tx�5b�/�m�B�Q�� ~]�/����.Ѯ�9������"o��R������b� �u�Ң�� �|���0�P�i}@��ND�HŨ+}�0 ��6m�V�������9EJ���^���0(�R���0n�%��D�h:v.FD�n�W���s=�'O���*nB�������Yz��?�S�����]�����ҐG�l�4��%C�����h�L�(O�(�'W.�OB9Z#ogI�z�=�I���������h 0k�[ ��������?��Sc�wi����zT9���Bx�r�B�PY'@�C�;E�>��9��/c����B?�Cm&�������7��K�u�� ����� ʅ���ֽ��9�*����m���,�6!t\ !��h�|F]�eE������Ԏ����J��
��]�$���/t��L�W+|PL4h%9�F�i���`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.