"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "1ae0750a21d206227a1990af74cbc68912d63ea5"
Unverified Commit 3c166ae5 authored by Yuefeng Wu's avatar Yuefeng Wu Committed by GitHub
Browse files

fix ProgressBar update problem (#103)

parent fbbdd0e3
...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment