CoreML NMS and half fixes (#143)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Glenn Jocher
2023-01-05 00:20:54 +01:00
committed by GitHub
parent 55bdca6768
commit 172cef2d20
18 changed files with 95 additions and 414 deletions

View File

@ -19,7 +19,7 @@ class DetectionValidator(BaseValidator):
def __init__(self, dataloader=None, save_dir=None, pbar=None, logger=None, args=None):
super().__init__(dataloader, save_dir, pbar, logger, args)
self.data_dict = yaml_load(check_file(self.args.data)) if self.args.data else None
self.data_dict = yaml_load(check_file(self.args.data), append_filename=True) if self.args.data else None
self.is_coco = False
self.class_map = None
self.targets = None