error Failed: Failed to run function : : 'DSSManagedFolder' object has no a

Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 16

Hi

I am trying to create an API but I need to access an entire folder and not only single files. In this folder there is the model that I want to load in order to make my prediction. How can I do so ? Thank you

Answers

  • Dataiker, Dataiku DSS Core Designer, Registered Posts: 135 Dataiker

    Hi @marirapellini
    ,

    Can you please share your code and the complete error that you are getting?

  • Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 16

    Hi

    I have the model saved using mlflow in a folder and I create the connection in the API like this:

    model_folder = dataikuapi.dss.managedfolder.DSSManagedFolder(client, "VISION", "FVWgHWWl")

    Later, I need to get the path of this folder in order to be able to load my model (this is a costum model and I use a custom function in order to load it) but I cannot find it cause apparently a dssmanaged folder does not have get_path().

    is there a way to solve this?

    thank you

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.