How to rescale images from [0,255] to [-1,1] with ImageDataGenerator?

后端 未结 0 1560
名媛妹妹
名媛妹妹 2021-01-28 05:14

I\'m using ImageDataGenerator with flow_from_dataframe to load a dataset.

ImageDataGenerator allows you to specify a rescaling factor like this

datagen = I         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题