kubeflow-kale / kale

Kubeflow’s superfood for Data Scientists
http://kubeflow-kale.github.io
Apache License 2.0
632 stars 128 forks source link

TensorFlow conversion error when running the pipeline #413

Closed kongkip closed 2 years ago

kongkip commented 2 years ago

Hello, I am running a pipeline utilizing TensorFlow, the notebook runs well end to end but when I submit the pipeline via kale I am getting the error bellow

Tensorflow type 21 not convertible to numpy dtype.

I think there is a problem in the way kale is handling TensorFlow.

kongkip commented 2 years ago

The issue arose because I was returning a tf.data that cannot be converted to NumPy. Note, Kale saves the output of the pipelines in Numpy format.