https://github.com/iminakov/tensorflowservingcsharpclient
Implement Tensor Flow Serving C# client example with gRPC. MNIST prediction console application and web paint ASP.NET Core 2.0 and ReactJS application.
https://github.com/iminakov/tensorflowservingcsharpclient
aspnetcoremvc csharp grpc net tensorflow-examples tensorflow-serving
Last synced: 4 months ago
JSON representation
Implement Tensor Flow Serving C# client example with gRPC. MNIST prediction console application and web paint ASP.NET Core 2.0 and ReactJS application.
- Host: GitHub
- URL: https://github.com/iminakov/tensorflowservingcsharpclient
- Owner: iminakov
- Created: 2017-12-18T20:42:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-15T11:08:49.000Z (over 4 years ago)
- Last Synced: 2025-01-31T03:13:23.372Z (5 months ago)
- Topics: aspnetcoremvc, csharp, grpc, net, tensorflow-examples, tensorflow-serving
- Language: C#
- Size: 308 KB
- Stars: 33
- Watchers: 5
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[Depricated] !!!Example of integration between Tensorflow Serving 2.0 and NetCore Client App is available [here](https://github.com/iminakov/TensorFlow2ServingDotNet5Client).
# TensorFlow Serving MNIST Deep C# client
This is example of C# clients for TensorFlow Serving gRPC service.
Repository contains the following content:
- [learning](https://github.com/Wertugo/TensorFlowServingCSharpClient/tree/master/learning) - python script with MNIST deep training model prepare and Readme short instructions how to execute TensorFlow serving with this model.
- [ClientBaseLib](https://github.com/Wertugo/TensorFlowServingCSharpClient/tree/master/src/BaseLibs/TensorFlowServingClient) - base library with TF Serving gRPC generated classes and utils classes to create Tensors.
- [Console Client](https://github.com/Wertugo/TensorFlowServingCSharpClient/tree/master/src/Clients/ConsoleTensorFlowServingClient) - simple console client application MNIST prediction example
- [ASP.NET Core 2.0/ ReactJS Client](https://github.com/Wertugo/TensorFlowServingCSharpClient/tree/master/src/Clients/WebTensorFlowServingClient) - SPA application gRPC client for MNIST prediction TensorFlow Serving## How to start web application
- Run TensorFlow Serving with instructions [here](https://github.com/Wertugo/TensorFlowServingCSharpClient/tree/master/learning)
- Open .NET solution.
- Update appsetting.json with TensorFlow Serving address:
```sh
"TfServer": {
"ServerUrl": "192.168.1.38:9000"
}
```
- Start web application with IIS express
- Test prediction