Adding only 90 degrees rotations to augmentations #5994
-
Hi! I wonder what exactly should I pass to 'degrees' param in hyp.scratch.yaml in order to add only [0, 90, 180, 270] degrees rotations to augmentations during network training? I've found several same or related questions in issues but no direct answers were provided. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@ivankovd you can simply uncomment L145 here to allow discrete random 90deg rotations: Lines 142 to 149 in c1249a4 |
Beta Was this translation helpful? Give feedback.
@ivankovd you can simply uncomment L145 here to allow discrete random 90deg rotations:
yolov5/utils/augmentations.py
Lines 142 to 149 in c1249a4