Thanks for you, but a new error has appeared after the change of the array to tensor and the change i made in the implementation of the AE
this is a stack trace of the error and the AE
Screenshot from 2020-06-07 11-49-551038×128 18.3 KB