Jiwon

Results 3 issues of Jiwon

# Description ## Related Issues Fixes #316 #374 ## Summary of Changes This PR fixes two problems for distributed training when `run_test=True`: 1. **Synchronization before testing** - Added `torch.distributed.barrier()` when...

# Description This PR fixes the calculation of mAR@K in `MeanAverageRecall` to comply with the COCO evaluation protocol. Previously, the implementation selected the top-K predictions globally across all images, rather...

### Search before asking - [x] I have searched the Supervision [issues](https://github.com/roboflow/supervision/issues) and found no similar bug report. ### Bug ### Describe the bug The current implementation of [MeanAverageRecall](https://github.com/roboflow/supervision/blob/develop/supervision/metrics/mean_average_recall.py) computes...

bug