[Python] do I use "rescale=1. / 255" or not? Building VGG-like CNN

Discussão em 'Python' iniciado por Stack, Março 14, 2025.

  1. Stack

    Stack Membro Participativo

    I am building a CNN with a similar architecture as VGG16. I know in VGG16 u do rescale u also center around 0. Now I train mine from scratch, does it make a difference and should I do it or no? Anyone who can help?

    datagen = ImageDataGenerator(rescale=1. / 255)

    Thanks a lot guys! <3

    Continue reading...

Compartilhe esta Página