Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfxmap_python
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
jfxmap_python
Commits
e6f31465
Commit
e6f31465
authored
Jan 04, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码修改
parent
21abad1e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
to_kitti_Nodes.py
script/to_kitti_Nodes.py
+2
-2
trans_data.py
script/trans_data.py
+0
-0
No files found.
script/to_kitti_Nodes.py
View file @
e6f31465
...
...
@@ -483,10 +483,10 @@ if __name__ == '__main__':
total_ind
=
0
for
child_ind
,
child_dir
in
enumerate
(
children_dir
):
pcd_list
=
glob
.
glob
(
os
.
path
.
join
(
root_path
,
child_dir
)
+
'
\\
pcd
\\
*.pcd'
)
pcd_list
=
glob
.
glob
(
os
.
path
.
join
(
root_path
,
child_dir
)
+
'
\\
pcd
\\
*.pcd'
)
#获取子目录下的所有pcd文件列表,其中每个元素都有完整的路径和文件名
#读标注的json文件
anno
=
{}
anno
=
{}
#保存标记的信息列表,每个元素key是文件名,value是所有标记的信息列表
jsn_file
=
os
.
path
.
join
(
os
.
path
.
join
(
root_path
,
child_dir
),
child_dir
+
".json"
)
with
open
(
jsn_file
,
'r'
,
encoding
=
'utf-8'
,
errors
=
'ignore'
)
as
fp
:
jsn
=
json
.
load
(
fp
)
...
...
script/trans_data.py
View file @
e6f31465
This diff is collapsed.
Click to expand it.
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