How to create a dataset like oxford_iiit_pet?

I was trying to train a semantic segmentation model like the one on this tutorial:

but i don’t know how to create the data, I have create a dataset using labelme tool then i created the masks data that contain only the object without the border

but still doesn’t work

any tutorial ?

I think this link may solve your problem~
There is a code called “dataPrepared.ipynb”, which contain the information that you want.