https://prefect.io logo
#data-tricks-and-tips
Title
# data-tricks-and-tips
j

Jaco

07/13/2022, 4:01 PM
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

Anna Geller

07/13/2022, 6:20 PM
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
28 Views