Thank you so much for your insight @ptrblck . Resizing is alright but I saw lots of notebooks, posts etc applying the very same transformation to masks as well such as  adding noise or blurring the class indices. Your clarification was important!