hide memory report from base_tracker

This commit is contained in:
gaomingqi
2023-04-25 21:36:11 +08:00
parent 755e870793
commit 5f19e39cfd

View File

@@ -101,7 +101,7 @@ class BaseTracker:
continue
painted_image = mask_painter(painted_image, (final_mask==obj).astype('uint8'), mask_color=obj+1)
print(f'max memory allocated: {torch.cuda.max_memory_allocated()/(2**20)} MB')
# print(f'max memory allocated: {torch.cuda.max_memory_allocated()/(2**20)} MB')
return final_mask, final_mask, painted_image