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
mmdetection3d
Commits
05256062
Commit
05256062
authored
Jun 24, 2020
by
liyinhao
Browse files
Fix data_path in pkl
parent
9be9b11e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
tools/data_converter/create_gt_database.py
tools/data_converter/create_gt_database.py
+1
-5
No files found.
tools/data_converter/create_gt_database.py
View file @
05256062
...
...
@@ -281,13 +281,9 @@ def create_groundtruth_database(dataset_class_name,
gt_points
.
tofile
(
f
)
if
(
used_classes
is
None
)
or
names
[
i
]
in
used_classes
:
if
relative_path
:
db_path
=
osp
.
join
(
data_path
,
filename
)
else
:
db_path
=
filepath
db_info
=
{
'name'
:
names
[
i
],
'path'
:
db_path
,
'path'
:
osp
.
join
(
f
'
{
info_prefix
}
_gt_database'
,
filename
)
,
'image_idx'
:
image_idx
,
'gt_idx'
:
i
,
'box3d_lidar'
:
gt_boxes_3d
[
i
],
...
...
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