yolov7_d2 icon indicating copy to clipboard operation
yolov7_d2 copied to clipboard

KeyError: 'jitter_pad_left'

Open Kittywyk opened this issue 2 years ago • 0 comments

Hi, thanks for your great work. When I tried to run Yolo-SwinTransformer(small), and enabled several augmentations(JITTER_CROP, MOSAIC_AND_MIXUP, etc), an error occcurs.

The training command is: python train_custom_dataset.py --config-file configs/mydataset/swin_s.yaml --num-gpus 2

The error is: File ".../yolov7/yolov7/data/transforms/transform.py", line 335, in apply_meta_infos meta_infos["jitter_pad_left"] *= scale_w KeyError: 'jitter_pad_left'

Could you pls tell me why the error occurs? And what I can do to fix it? Thank you.

Kittywyk avatar Aug 04 '22 08:08 Kittywyk