The tutorial mentions the necessity of conversion the input image from BGR to RGB
albumentations expects the image to be in BGR format, not RGB, so you’ll have to convert the image before applying the transform.
Link to tutorial
However, relevant albumentations' tutorials on channels conversion and on boxes imply that it's not really true no more.
I suggest removing this outdated conversion from the tutorial.