Skip to content

Commit

Permalink
Update VAD_test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuanzzz committed Jun 25, 2024
1 parent 3e79d99 commit 8dd2cfc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions adzoo/vad/apis/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@ def custom_multi_gpu_test(model, data_loader, tmpdir=None, gpu_collect=False):
else:
batch_size = len(result)
bbox_results.extend(result)

if i>150:
break

#if isinstance(result[0], tuple):
# assert False, 'this code is for instance segmentation, which our code will not utilize.'
# result = [(bbox_results, encode_mask_results(mask_results))
# for bbox_results, mask_results in result]
if rank == 0:

for _ in range(batch_size * world_size):
Expand Down

0 comments on commit 8dd2cfc

Please sign in to comment.