当我们标记一个语义分割
的数据集的时候
数据的多少很关键
那么怎么进行数据增强呢 需要进行相关的技术研究
主要的代码
#https://github.com/mdbloice/Augmentor/blob/master/notebooks/Multiple-Mask-Augmentation.ipynb
import Augmentor
# Some imports we will need for this notebook
import Augmentor
import numpy as np
from PIL import Image
import glob
from natsort import natsorted
impor