Failed to start prediction kernel : : ascii

boksu
boksu Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered, Frontrunner 2022 Participant Posts: 6 Partner

I have trouble deploying with the error message(attached file)

deploy_error_api.JPG

.


Operating system used: centos

Tagged:

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker

    Hi @Boksu_Oh
    ,

    UnicodeDecodeError you are seeing is likely due to the fact that the model was training on Python 2.7 but you are currently using Python 3.6/3.7 as the default python on the API nodes.

    Can you please try re-training your model using the python version 3.6/3.7 instead and let us know if the issues persist.

    You can change the python version used for model training from the original analysis under Models - Design tab - Runtime Environment and select a Python3 code env to match your API nodes.

    Thanks,

Setup Info
    Tags
      Help me…