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
3c166ae5
Unverified
Commit
3c166ae5
authored
Sep 14, 2020
by
Yuefeng Wu
Committed by
GitHub
Sep 14, 2020
Browse files
fix ProgressBar update problem (#103)
parent
fbbdd0e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmdet3d/apis/test.py
mmdet3d/apis/test.py
+1
-1
No files found.
mmdet3d/apis/test.py
View file @
3c166ae5
...
@@ -33,7 +33,7 @@ def single_gpu_test(model, data_loader, show=False, out_dir=None):
...
@@ -33,7 +33,7 @@ def single_gpu_test(model, data_loader, show=False, out_dir=None):
results
.
extend
(
result
)
results
.
extend
(
result
)
batch_size
=
len
(
data
[
'img_metas'
][
0
].
data
)
batch_size
=
len
(
result
)
for
_
in
range
(
batch_size
):
for
_
in
range
(
batch_size
):
prog_bar
.
update
()
prog_bar
.
update
()
return
results
return
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