Rename img_size to imgsz (#86)
This commit is contained in:
parent
ae2443c210
commit
6432afc5f9
25 changed files with 98 additions and 98 deletions
|
|
@ -62,7 +62,7 @@ def build_dataloader(cfg, batch_size, img_path, stride=32, label_path=None, rank
|
|||
dataset = YOLODataset(
|
||||
img_path=img_path,
|
||||
label_path=label_path,
|
||||
img_size=cfg.img_size,
|
||||
imgsz=cfg.imgsz,
|
||||
batch_size=batch_size,
|
||||
augment=True if mode == "train" else False, # augmentation
|
||||
hyp=cfg, # TODO: probably add a get_hyps_from_cfg function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue