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
5d88bef6
Unverified
Commit
5d88bef6
authored
Feb 28, 2023
by
Sun Jiahao
Committed by
GitHub
Feb 28, 2023
Browse files
[Fix]: fix polarmix UT (#2310)
parent
60d848b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_datasets/test_transforms/test_transforms_3d.py
tests/test_datasets/test_transforms/test_transforms_3d.py
+1
-1
No files found.
tests/test_datasets/test_transforms/test_transforms_3d.py
View file @
5d88bef6
...
@@ -216,7 +216,7 @@ class TestPolarMix(unittest.TestCase):
...
@@ -216,7 +216,7 @@ class TestPolarMix(unittest.TestCase):
transform
=
PolarMix
(
instance_classes
=
[
1.0
,
2.0
])
transform
=
PolarMix
(
instance_classes
=
[
1.0
,
2.0
])
transform
=
PolarMix
(
transform
=
PolarMix
(
instance_classes
=
[
1
,
2
],
instance_classes
=
[
1
5
,
16
,
17
],
swap_ratio
=
1.0
,
swap_ratio
=
1.0
,
pre_transform
=
self
.
pre_transform
)
pre_transform
=
self
.
pre_transform
)
results
=
transform
.
transform
(
copy
.
deepcopy
(
self
.
results
))
results
=
transform
.
transform
(
copy
.
deepcopy
(
self
.
results
))
...
...
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