Thread
#data-tricks-and-tips
    Jaco

    Jaco

    2 months ago
    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()?
    Anna Geller

    Anna Geller

    2 months ago
    A bit of a spoiler but you will no longer need .result() starting from the next release 🙌 so it will be easier very soon