ultralytics 8.0.32 HUB and TensorFlow fixes (#870)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
f5d003d05a
commit
c9893810c7
14 changed files with 118 additions and 85 deletions
|
|
@ -176,7 +176,8 @@ class DetectionValidator(BaseValidator):
|
|||
prefix=colorstr(f'{self.args.mode}: '),
|
||||
shuffle=False,
|
||||
seed=self.args.seed)[0] if self.args.v5loader else \
|
||||
build_dataloader(self.args, batch_size, img_path=dataset_path, stride=gs, mode="val")[0]
|
||||
build_dataloader(self.args, batch_size, img_path=dataset_path, stride=gs, names=self.data['names'],
|
||||
mode="val")[0]
|
||||
|
||||
def plot_val_samples(self, batch, ni):
|
||||
plot_images(batch["img"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue