2020
10-08
10-08
Keras 数据增强ImageDataGenerator多输入多输出实例
我就废话不多说了,大家还是直接看代码吧~importosos.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID"os.environ["CUDA_VISIBLE_DEVICES"]=""importsysimportgcimporttimeimportcv2importrandomimportnumpyasnpimportpandasaspdimportseabornassnsimportmatplotlib.pyplotaspltfromtqdmimporttqdmfromrandom_eraserimportget_random_eraserfromkeras.preprocessing.imageimportImageDataGenerator,array...
继续阅读 >