Hello everyone! I'm testing prefect to help in my ...
# data-tricks-and-tips
j
Hello everyone! I'm testing prefect to help in my mlops workflow. I need help to understand the following thing: when I do .result() for example:
@flow def main(): train,test,unique_movie_titles,unique_user_ids = getData().result()
i keep getting type errors like:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot convert a Tensor of dtype variant to a NumPy array
, am I limited in what type of return I need to have in my functions to use the .result()?
1
a
A bit of a spoiler but you will no longer need .result() starting from the next release 🙌 so it will be easier very soon
👍 2