[Python] Why do i have to convert "uint8" into "float32"

Discussão em 'Python' iniciado por Stack, Fevereiro 22, 2025.

  1. Stack

    Stack Membro Participativo

    I just started looking into deep learning and started to build a CNN with Keras.

    So I've noticed that oftentimes when the Dataset MNIST is used, after importing the images, they are getting converted to float32-Datatype.

    So my question is, why is that the case? It seems like it should work fine with uint8-Data. What am I missing here? Why is float32 needed?

    Continue reading...

Compartilhe esta Página