Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OUTPUT_TRANSFORMER example #272

Merged
merged 2 commits into from
Oct 30, 2018

Conversation

ChenyuanZ
Copy link
Contributor

Hi here.

I noticed there's no OUTPUT_TRANSFORMER example in this repo. So I created one. Please let me know if anything needs to be changed.

Here's the log of svc-orch pod:

2018-10-29 21:57:53.608  INFO 7 --- [nio-8000-exec-1] i.s.e.service.InternalPredictionService  : Requesting http://test-output-transformer-output-transformer-classifier:9000/predict
2018-10-29 21:57:53.670  INFO 7 --- [nio-8000-exec-1] i.s.e.service.InternalPredictionService  : {
  "data": {
    "names": [
      "proba"
    ],
    "tensor": {
      "shape": [
        1,
        1
      ],
      "values": [
        0.07577603016695865
      ]
    }
  }
}

2018-10-29 21:57:53.680  INFO 7 --- [nio-8000-exec-1] i.s.e.service.InternalPredictionService  : Requesting http://test-output-transformer-output-transformer-output-transformer:9001/transform-output
2018-10-29 21:57:53.686  INFO 7 --- [nio-8000-exec-1] i.s.e.service.InternalPredictionService  : {"data":{"names":["proba"],"tensor":{"shape":[2,1],"values":[0.07577603016695865,1.0]}}}

Thanks,
Chenyuan

@ukclivecox ukclivecox merged commit 449e3ff into SeldonIO:master Oct 30, 2018
@ukclivecox
Copy link
Contributor

Thanks!

@ChenyuanZ ChenyuanZ deleted the add/output_transformer_example branch October 30, 2018 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants