Add best.pt val and COCO pycocotools val (#98)
Co-authored-by: ayush chaurasia <ayush.chaurarsia@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
a1808eeda4
commit
6f0ba81427
12 changed files with 159 additions and 115 deletions
|
|
@ -86,7 +86,8 @@ def select_device(device='', batch_size=0, newline=False):
|
|||
s += 'CPU\n'
|
||||
arg = 'cpu'
|
||||
|
||||
LOGGER.info(s if newline else s.rstrip())
|
||||
if RANK == -1:
|
||||
LOGGER.info(s if newline else s.rstrip())
|
||||
return torch.device(arg)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue