Skip to content

Commit b538956

Browse files
authored
Merge pull request #328 from JdeRobot/issue-327
Upgrade LiDAR segmentation
2 parents 93b48eb + cd7479d commit b538956

54 files changed

Lines changed: 2797 additions & 737 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.DS_Store

-6 KB
Binary file not shown.

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ __pycache__
77
dist
88
poetry.lock
99

10-
local/
10+
local/
11+
third_party/
12+
13+
.DS_Store

CONTRIBUTING.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,4 @@ Emails:
5757

5858
<sergiopaniegoblanco@gmail.com>
5959

60-
<vinay0410sharma@gmail.com>
61-
62-
<justjeevan07@gmail.com>
63-
6460
<josemaria.plaza@gmail.com>

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Now, we're excited to introduce ***DetectionMetrics v2***! While retaining the f
4141
</tr>
4242
<tr>
4343
<td>LiDAR</td>
44-
<td>Rellis3D, GOOSE, custom GAIA format</td>
45-
<td>PyTorch (tested with RandLA-Net and KPConv from <a href="https://github.com/isl-org/Open3D-ML">Open3D-ML</a>)</td> </tr>
44+
<td>Rellis3D, GOOSE, WildScenes, custom GAIA format</td>
45+
<td>PyTorch (tested with <a href="https://github.com/isl-org/Open3D-ML">Open3D-ML</a>, <a href="https://github.com/open-mmlab/mmdetection3d">mmdetection3d</a>, <a href="https://github.com/dvlab-research/SphereFormer">SphereFormer</a>, and <a href="https://github.com/FengZicai/LSK3DNet">LSK3DNet</a> models)</td> </tr>
4646
<tr>
4747
<td>Object detection</td>
4848
<td>Image</td>
@@ -94,6 +94,9 @@ Install your deep learning framework of preference in your environment. We have
9494

9595
If you are using LiDAR, Open3D currently requires `torch==2.2*`.
9696

97+
### Additional environments
98+
Some LiDAR segmentation models, such as SphereFormer and LSK3DNet, require a dedicated installation workflow. Refer to [additional_envs/INSTRUCTIONS.md](additional_envs/INSTRUCTIONS.md) for detailed setup instructions.
99+
97100
# Usage
98101
DetectionMetrics can be used in three ways: through the **interactive GUI** (detection only), as a **Python library**, or via the **command-line interface** (segmentation and detection).
99102

@@ -166,8 +169,9 @@ Our previous release, ***DetectionMetrics v1***, introduced a versatile suite fo
166169
doi = {10.3390/s22124575},
167170
}
168171
```
172+
169173
# How to Contribute
170174
_To make your first contribution, follow this [Guide](https://github.com/JdeRobot/DetectionMetrics/blob/master/CONTRIBUTING.md)._
171175

172176
# Acknowledgements
173-
Utils for LiDAR segmentation, such as sampling or recentering, are based on [Open3D-ML](https://github.com/isl-org/Open3D-ML).
177+
LiDAR segmentation support is built upon open-source work from [Open3D-ML](https://github.com/isl-org/Open3D-ML), [mmdetection3d](https://github.com/open-mmlab/mmdetection3d), [SphereFormer](https://github.com/dvlab-research/SphereFormer), and [LSK3DNet](https://github.com/FengZicai/LSK3DNet).

THIRD_PARTY_NOTICES.md

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
This project includes third-party software components.
2+
The following licenses and notices apply to the indicated components.
3+
4+
---
5+
6+
## Third-Party Components
7+
8+
### SphereFormer
9+
This project includes modified code derived from [SphereFormer](https://github.com/dvlab-research/SphereFormer), licensed under the Apache License, Version 2.0.
10+
11+
### LSK3DNet
12+
This project includes modified code derived from [LSK3DNet](https://github.com/FengZicai/LSK3DNet), licensed under the MIT License.
13+
14+
### Open3D-ML
15+
This project includes modified code derived from [Open3D-ML](https://github.com/isl-org/Open3D-ML), licensed under the MIT License.
16+
17+
---
18+
19+
## Apache License, Version 2.0 (SphereFormer)
20+
21+
Apache License
22+
Version 2.0, January 2004
23+
http://www.apache.org/licenses/
24+
25+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
26+
27+
1. Definitions.
28+
29+
"License" shall mean the terms and conditions for use, reproduction,
30+
and distribution as defined by Sections 1 through 9 of this document.
31+
32+
"Licensor" shall mean the copyright owner or entity authorized by
33+
the copyright owner that is granting the License.
34+
35+
"Legal Entity" shall mean the union of the acting entity and all
36+
other entities that control, are controlled by, or are under common
37+
control with that entity. For the purposes of this definition,
38+
"control" means (i) the power, direct or indirect, to cause the
39+
direction or management of such entity, whether by contract or
40+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
41+
outstanding shares, or (iii) beneficial ownership of such entity.
42+
43+
"You" (or "Your") shall mean an individual or Legal Entity
44+
exercising permissions granted by this License.
45+
46+
"Source" form shall mean the preferred form for making modifications,
47+
including but not limited to software source code, documentation
48+
source, and configuration files.
49+
50+
"Object" form shall mean any form resulting from mechanical
51+
transformation or translation of a Source form, including but
52+
not limited to compiled object code, generated documentation,
53+
and conversions to other media types.
54+
55+
"Work" shall mean the work of authorship, whether in Source or
56+
Object form, made available under the License, as indicated by a
57+
copyright notice that is included in or attached to the work
58+
(an example is provided in the Appendix below).
59+
60+
"Derivative Works" shall mean any work, whether in Source or Object
61+
form, that is based on (or derived from) the Work and for which the
62+
editorial revisions, annotations, elaborations, or other modifications
63+
represent, as a whole, an original work of authorship. For the purposes
64+
of this License, Derivative Works shall not include works that remain
65+
separable from, or merely link (or bind by name) to the interfaces of,
66+
the Work and Derivative Works thereof.
67+
68+
"Contribution" shall mean any work of authorship, including
69+
the original version of the Work and any modifications or additions
70+
to that Work or Derivative Works thereof, that is intentionally
71+
submitted to Licensor for inclusion in the Work by the copyright owner
72+
or by an individual or Legal Entity authorized to submit on behalf of
73+
the copyright owner. For the purposes of this definition, "submitted"
74+
means any form of electronic, verbal, or written communication sent
75+
to the Licensor or its representatives, including but not limited to
76+
communication on electronic mailing lists, source code control systems,
77+
and issue tracking systems that are managed by, or on behalf of, the
78+
Licensor for the purpose of discussing and improving the Work, but
79+
excluding communication that is conspicuously marked or otherwise
80+
designated in writing by the copyright owner as "Not a Contribution."
81+
82+
"Contributor" shall mean Licensor and any individual or Legal Entity
83+
on behalf of whom a Contribution has been received by Licensor and
84+
subsequently incorporated within the Work.
85+
86+
2. Grant of Copyright License. Subject to the terms and conditions of
87+
this License, each Contributor hereby grants to You a perpetual,
88+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
89+
copyright license to reproduce, prepare Derivative Works of,
90+
publicly display, publicly perform, sublicense, and distribute the
91+
Work and such Derivative Works in Source or Object form.
92+
93+
3. Grant of Patent License. Subject to the terms and conditions of
94+
this License, each Contributor hereby grants to You a perpetual,
95+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
96+
(except as stated in this section) patent license to make, have made,
97+
use, offer to sell, sell, import, and otherwise transfer the Work,
98+
where such license applies only to those patent claims licensable
99+
by such Contributor that are necessarily infringed by their
100+
Contribution(s) alone or by combination of their Contribution(s)
101+
with the Work to which such Contribution(s) was submitted. If You
102+
institute patent litigation against any entity alleging that the Work
103+
or a Contribution incorporated within the Work constitutes patent
104+
infringement, then any patent licenses granted to You under this
105+
License for that Work shall terminate as of the date such litigation
106+
is filed.
107+
108+
4. Redistribution. You may reproduce and distribute copies of the
109+
Work or Derivative Works thereof in any medium, with or without
110+
modifications, and in Source or Object form, provided that You
111+
meet the following conditions:
112+
113+
(a) You must give any other recipients of the Work or
114+
Derivative Works a copy of this License; and
115+
116+
(b) You must cause any modified files to carry prominent notices
117+
stating that You changed the files; and
118+
119+
(c) You must retain, in the Source form of any Derivative Works
120+
that You distribute, all copyright, patent, trademark, and
121+
attribution notices from the Source form of the Work,
122+
excluding those notices that do not pertain to any part of
123+
the Derivative Works.
124+
125+
END OF TERMS AND CONDITIONS
126+
127+
---
128+
129+
## MIT License (LSK3DNet)
130+
131+
MIT License
132+
133+
Copyright (c) 2024 Tuo Feng
134+
135+
Permission is hereby granted, free of charge, to any person obtaining a copy
136+
of this software and associated documentation files (the "Software"), to deal
137+
in the Software without restriction, including without limitation the rights
138+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
139+
copies of the Software, and to permit persons to whom the Software is
140+
furnished to do so, subject to the following conditions:
141+
142+
The above copyright notice and this permission notice shall be included in all
143+
copies or substantial portions of the Software.
144+
145+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
146+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
147+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
148+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
149+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
150+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
151+
SOFTWARE.
152+
153+
---
154+
155+
## MIT License (Open3D-ML)
156+
157+
The MIT License (MIT)
158+
159+
Open3D: www.open3d.org
160+
Copyright (c) 2020 www.open3d.org
161+
162+
Permission is hereby granted, free of charge, to any person obtaining a copy
163+
of this software and associated documentation files (the "Software"), to deal
164+
in the Software without restriction, including without limitation the rights
165+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
166+
copies of the Software, and to permit persons to whom the Software is
167+
furnished to do so, subject to the following conditions:
168+
169+
The above copyright notice and this permission notice shall be included in
170+
all copies or substantial portions of the Software.
171+
172+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
173+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
174+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
175+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
176+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
177+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
178+
THE SOFTWARE.

0 commit comments

Comments
 (0)