helayers icon indicating copy to clipboard operation
helayers copied to clipboard

can not use encode_encrypt_input_for_predict

Open josephinela opened this issue 2 years ago • 1 comments

i am running the tutorial on xgboost and i get this error using the function encode_encrypt_input_for_predict image

josephinela avatar Jun 23 '23 15:06 josephinela

It seems the error is due to mixing between versions. The code snippet you sent is from an older version of HElayers, and it's likely the pyhelayers version installed newer. I recommend that you load the most recent version using the links here: https://ibm.github.io/helayers/ Note that the helayers-pylab docker image contains both the demos and pyhelayers, and you can also install pyhelayer separately using 'pip install', and then run the demos from the image if they are from the same version.

Let us know if the problem persists.

aehud avatar Jun 25 '23 10:06 aehud