mrdbourke / tensorflow-deep-learning

All course materials for the Zero to Mastery Deep Learning with TensorFlow course.
https://dbourke.link/ZTMTFcourse
MIT License
5.16k stars 2.53k forks source link

ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type float). #268

Closed immuhammadadil closed 2 years ago

immuhammadadil commented 2 years ago

In NBeats Algorithm: image

mrdbourke commented 2 years ago

Hey @immuhammadadil,

Have you checked the types of your data?

You can do so using tensor.dtype - this will tell you the type of data you're working with to try and fix the error you're facing.