Rename img_size to imgsz (#86)
This commit is contained in:
parent
ae2443c210
commit
6432afc5f9
25 changed files with 98 additions and 98 deletions
|
|
@ -28,7 +28,7 @@ class ClassificationValidator(BaseValidator):
|
|||
return {"top1": top1, "top5": top5, "fitness": top5}
|
||||
|
||||
def get_dataloader(self, dataset_path, batch_size):
|
||||
return build_classification_dataloader(path=dataset_path, imgsz=self.args.img_size, batch_size=batch_size)
|
||||
return build_classification_dataloader(path=dataset_path, imgsz=self.args.imgsz, batch_size=batch_size)
|
||||
|
||||
@property
|
||||
def metric_keys(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue