Open yantriks-edi-bice opened 4 years ago
Issue-Label Bot is automatically applying the labels:
Label | Probability |
---|---|
kind/bug | 0.99 |
Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.
facing same issue with azure also:
JSONDecodeError Traceback (most recent call last)
I see the same issue on azure
JSONDecodeError Traceback (most recent call last)
Anyone interested in solving this problem? Thanks
Anyone interested in solving this problem? Thanks
Yes
@chantikummari Did you tried this with new kubeflow-fairing? the example is executed and passed in CI testing. Thanks.
@chantikummari Did you tried this with new kubeflow-fairing? the example is executed and passed in CI testing. Thanks.
I didn't try yet. We skipped that fairing feature from our project. I will definitely check it if any requirement comes related to it.
So I suggest use latest kubeflow-fairing, and use new the example, the example is updated, such as in the PR: https://github.com/kubeflow/fairing/pull/335
@chantikummari, @jinchihe I was facing the same issue while trying Fairing on kubeflow cluster on AWS. I was trying to deploy my Fashion MNIST example using Fairing. My error got resolved when I put in feature_names=None
in my predict
function.
My function call was - def predict(self, X, feature_names=None): # code to predict
@achal-wwt Hey can you share how did you deploy it. Because I am facing the same issue and not getting how to resolve it
@Juggernaut1997 I currently don't have the code available to share but if you are facing issue while using the trained model i.e. while getting prediction . Just make sure that you pass in feature_names
as an argument in the predict
function even though you are not using the argument.
@achal-wwt Hi thanks for the reply, sorry i didn't respond early. But i am still facing the same issue.
I realize that when I run seldon-core in the container, I occur the error like above. However, when I run with cpu, the error is gone.
/kind bug
What steps did you take and what happened:
Deployed Kubeflow 1.0 on GCP and worked through xgboost-high-level-apis.ipynb. All went well until the endpoint.predict_nparray(test_X) step which generated following error
JSONDecodeError Traceback (most recent call last)