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
93a2b097
Commit
93a2b097
authored
Apr 30, 2020
by
liyinhao
Browse files
move rotate range to the init function
parent
f5d86d36
Changes
24
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
7 deletions
+2
-7
tests/data/sunrgbd/sunrgbd_trainval/label/000002.txt
tests/data/sunrgbd/sunrgbd_trainval/label/000002.txt
+0
-2
tests/data/sunrgbd/sunrgbd_trainval/label_v1/000002.txt
tests/data/sunrgbd/sunrgbd_trainval/label_v1/000002.txt
+0
-2
tests/data/sunrgbd/sunrgbd_trainval/val_data_idx.txt
tests/data/sunrgbd/sunrgbd_trainval/val_data_idx.txt
+0
-1
tests/test_indoor_loading.py
tests/test_indoor_loading.py
+2
-2
No files found.
tests/data/sunrgbd/sunrgbd_trainval/label/000002.txt
deleted
100644 → 0
View file @
f5d86d36
bed 1 128 498 402 -0.536667 2.556667 -0.515386 1.067968 1.202169 0.793333 -0.241231 -0.970468
night_stand 462 303 197 195 1.302765 3.050952 -0.862693 0.459078 0.340327 0.393974 -0.247833 -0.968803
tests/data/sunrgbd/sunrgbd_trainval/label_v1/000002.txt
deleted
100644 → 0
View file @
f5d86d36
bed 1 128 498 402 -0.536667 2.556667 -0.515386 1.067968 1.202169 0.793333 -0.241231 -0.970468
night_stand 462 303 197 195 1.302765 3.050952 -0.862052 0.459078 0.340327 0.393333 -0.247833 -0.968803
tests/data/sunrgbd/sunrgbd_trainval/val_data_idx.txt
deleted
100644 → 0
View file @
f5d86d36
2
tests/test_indoor_loading.py
View file @
93a2b097
...
@@ -4,7 +4,7 @@ from mmdet3d.datasets.pipelines.indoor_loading import IndoorLoadData
...
@@ -4,7 +4,7 @@ from mmdet3d.datasets.pipelines.indoor_loading import IndoorLoadData
def
test_indoor_load_data
():
def
test_indoor_load_data
():
sunrgbd_info
=
mmcv
.
load
(
'./tests/data/sunrgbd/sunrgbd_infos
_train
.pkl'
)
sunrgbd_info
=
mmcv
.
load
(
'./tests/data/sunrgbd/sunrgbd_infos.pkl'
)
sunrgbd_load_data
=
IndoorLoadData
(
'sunrgbd'
,
False
,
True
,
[
0.5
,
0.5
,
0.5
])
sunrgbd_load_data
=
IndoorLoadData
(
'sunrgbd'
,
False
,
True
,
[
0.5
,
0.5
,
0.5
])
sunrgbd_results
=
dict
()
sunrgbd_results
=
dict
()
sunrgbd_results
[
'data_path'
]
=
'./tests/data/sunrgbd/sunrgbd_trainval'
sunrgbd_results
[
'data_path'
]
=
'./tests/data/sunrgbd/sunrgbd_trainval'
...
@@ -19,7 +19,7 @@ def test_indoor_load_data():
...
@@ -19,7 +19,7 @@ def test_indoor_load_data():
assert
sunrgbd_gt_classes
.
shape
==
(
3
,
1
)
assert
sunrgbd_gt_classes
.
shape
==
(
3
,
1
)
assert
sunrgbd_gt_boxes_mask
.
shape
==
(
3
,
1
)
assert
sunrgbd_gt_boxes_mask
.
shape
==
(
3
,
1
)
scannet_info
=
mmcv
.
load
(
'./tests/data/scannet/scannet_infos
_train
.pkl'
)
scannet_info
=
mmcv
.
load
(
'./tests/data/scannet/scannet_infos.pkl'
)
scannet_load_data
=
IndoorLoadData
(
'scannet'
,
False
,
True
,
[
0.5
,
0.5
,
0.5
])
scannet_load_data
=
IndoorLoadData
(
'scannet'
,
False
,
True
,
[
0.5
,
0.5
,
0.5
])
scannet_results
=
dict
()
scannet_results
=
dict
()
scannet_results
[
scannet_results
[
...
...
Prev
1
2
Next
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