import sys
sys.path.append('../')
# Mode one ( If something goes wrong , Try to dataset Add a __init__.py Empty file )
from dataset.dataset_unet import mask2data
# Use
mask2data()
# Mode two
import dataset.dataset_unet
# Use
dataset.dataset_unet.mask2data()