Skip to content

ImageDataGenerator(rescale=1/255) #27

Answered by mrdbourke
Programmer-RD-AI asked this question in Q&A
Discussion options

You must be logged in to vote

Hey Ranuga,

The image tensor gets multiplied by the rescale factor.

For example:

image = (image * 1) / 255

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Programmer-RD-AI
Comment options

Answer selected by mrdbourke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants