Interaction with saved models
![DanielaAndaluz](https://us.v-cdn.net/6038231/uploads/lithium_attachments/n2572i610A2A40348AF0C8.jpg)
DanielaAndaluz
Registered Posts: 2 ✭✭✭✭
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
-
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
-
@HenriC
it makes sense, thank you!