Apply Ruff 0.9.0 (#18622)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
cc1e77138c
commit
3902e740cf
22 changed files with 69 additions and 65 deletions
|
|
@ -153,7 +153,7 @@ class PoseValidator(DetectionValidator):
|
|||
pred_kpts,
|
||||
self.args.save_conf,
|
||||
pbatch["ori_shape"],
|
||||
self.save_dir / "labels" / f'{Path(batch["im_file"][si]).stem}.txt',
|
||||
self.save_dir / "labels" / f"{Path(batch['im_file'][si]).stem}.txt",
|
||||
)
|
||||
|
||||
def _process_batch(self, detections, gt_bboxes, gt_cls, pred_kpts=None, gt_kpts=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue