An open API service indexing awesome lists of open source software.

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.

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

![.NET TensorFlow Client](https://raw.githubusercontent.com/Wertugo/TensorFlowServingCSharpClient/master/src/content/preview.png)