Rnn Image Classification Python