Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenPCDet
Commits
ae2c03a9
Commit
ae2c03a9
authored
Jan 05, 2022
by
Shaoshuai Shi
Browse files
bugfixed: conflict when merging with master branch
parent
f91d9098
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
pcdet/datasets/processor/point_feature_encoder.py
pcdet/datasets/processor/point_feature_encoder.py
+1
-6
No files found.
pcdet/datasets/processor/point_feature_encoder.py
View file @
ae2c03a9
...
@@ -30,14 +30,9 @@ class PointFeatureEncoder(object):
...
@@ -30,14 +30,9 @@ class PointFeatureEncoder(object):
data_dict
[
'points'
]
data_dict
[
'points'
]
)
)
data_dict
[
'use_lead_xyz'
]
=
use_lead_xyz
data_dict
[
'use_lead_xyz'
]
=
use_lead_xyz
<<<<<<<
HEAD
if
self
.
point_encoding_config
.
get
(
'FILTER_SWEEPS'
,
False
)
and
'timestamp'
in
self
.
src_feature_list
:
max_sweeps
=
self
.
point_encoding_config
.
MAX_SWEEPS
=======
if
self
.
point_encoding_config
.
get
(
'filter_sweeps'
,
False
)
and
'timestamp'
in
self
.
src_feature_list
:
if
self
.
point_encoding_config
.
get
(
'filter_sweeps'
,
False
)
and
'timestamp'
in
self
.
src_feature_list
:
max_sweeps
=
self
.
point_encoding_config
.
max_sweeps
max_sweeps
=
self
.
point_encoding_config
.
max_sweeps
>>>>>>>
dev_v0
.
5
idx
=
self
.
src_feature_list
.
index
(
'timestamp'
)
idx
=
self
.
src_feature_list
.
index
(
'timestamp'
)
dt
=
np
.
round
(
data_dict
[
'points'
][:,
idx
],
2
)
dt
=
np
.
round
(
data_dict
[
'points'
][:,
idx
],
2
)
max_dt
=
sorted
(
np
.
unique
(
dt
))[
min
(
len
(
np
.
unique
(
dt
))
-
1
,
max_sweeps
-
1
)]
max_dt
=
sorted
(
np
.
unique
(
dt
))[
min
(
len
(
np
.
unique
(
dt
))
-
1
,
max_sweeps
-
1
)]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment