python train.py --rect --data ../dataset.yml --weights yolov5m-cls.pt --cfg models/yolov5m.yaml
--rect
- for rectangular training, in contrast to mosaic, finds bounding box as a whole
--weights
- may be found on https://github.com/ultralytics/yolov5#pretrained-checkpoints