Interaction with saved models

Options
DanielaAndaluz
DanielaAndaluz Registered Posts: 2 ✭✭✭✭
edited July 16 in General Discussion

Hi, when trying to retireve a model I created via AutoML I get the following error:

'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

the code I'm using is

m = dataiku.Model(my_model_id)
my_predictor = m.get_predictor()

my_clf = my_predictor._clf

I do know I'm using the correct modelID, but I don't understand why I am getting this error.

Best Answer

  • HenriC
    HenriC Dataiker Posts: 22 Dataiker
    Answer ✓
    Options

    Hi @DanielaAndaluz
    !

    This message usually means that you do not use the same version of Python in your model and in the Python recipe you are trying to execute.

    You should use Python 3 both to run your model and to execute a recipe on it.

    Does it make sense?

Answers

Setup Info
    Tags
      Help me…