diff --git a/README.md b/README.md index 045ca547..6bce5b88 100644 --- a/README.md +++ b/README.md @@ -60,14 +60,15 @@ Read the docs & book [The Definitive Guide to Tensorflow.NET](https://tensorflow More examples: * [Hello World](test/TensorFlowNET.Examples/HelloWorld.cs) - * [Basic Operations](test/TensorFlowNET.Examples/BasicOperations.cs) * [Image Recognition](test/TensorFlowNET.Examples/ImageRecognition.cs) * [Linear Regression](test/TensorFlowNET.Examples/LinearRegression.cs) -* [Text Classification with Movie Review](test/TensorFlowNET.Examples/TextClassificationWithMovieReviews.cs) +* [Text Classification](test/TensorFlowNET.Examples/TextClassificationWithMovieReviews.cs) +* [Naive Bayes Classification](test/TensorFlowNET.Examples/NaiveBayesClassifier.cs) +* [Named Entity Recognition](test/TensorFlowNET.Examples/NamedEntityRecognition.cs) Star me or raise issue on [Github](https://github.com/SciSharp/TensorFlow.NET) feel free. -Scan QR code to join TIM group: +Scan QR code to join Tencent TIM group: ![SciSharp STACK](docs/TIM.jpg) diff --git a/docs/TIM.jpg b/docs/TIM.jpg index a557a7be..448e3b6e 100644 Binary files a/docs/TIM.jpg and b/docs/TIM.jpg differ diff --git a/tensorflowlib/README.md b/tensorflowlib/README.md index 982d8db9..f00cb66b 100644 --- a/tensorflowlib/README.md +++ b/tensorflowlib/README.md @@ -8,4 +8,19 @@ Here are some pre-built TensorFlow binaries you can use for each platform: https://www.tensorflow.org/install/source_windows pacman -S git patch unzip -bazel build --config=opt //tensorflow:libtensorflow.so \ No newline at end of file + +1. Build static library + +`bazel build --config=opt //tensorflow:libtensorflow.so` + +2. Build pip package + +`bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package` + +3. Generate pip installation file + +`bazel-bin\tensorflow\tools\pip_package\build_pip_package C:/tmp/tensorflow_pkg` + +4. Install from local wheel file. + +`pip install C:/tmp/tensorflow_pkg/tensorflow-1.13.0-cp36-cp36m-win_amd64.whl` \ No newline at end of file diff --git a/test/TensorFlowNET.Examples/NaiveBayesClassifier.cs b/test/TensorFlowNET.Examples/NaiveBayesClassifier.cs new file mode 100644 index 00000000..8f395ea9 --- /dev/null +++ b/test/TensorFlowNET.Examples/NaiveBayesClassifier.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Text; +using Tensorflow; + +namespace TensorFlowNET.Examples +{ + /// + /// https://github.com/nicolov/naive_bayes_tensorflow + /// + public class NaiveBayesClassifier : Python, IExample + { + public void Run() + { + throw new NotImplementedException(); + } + } +} diff --git a/test/TensorFlowNET.Examples/NamedEntityRecognition.cs b/test/TensorFlowNET.Examples/NamedEntityRecognition.cs new file mode 100644 index 00000000..556b9415 --- /dev/null +++ b/test/TensorFlowNET.Examples/NamedEntityRecognition.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Text; +using Tensorflow; + +namespace TensorFlowNET.Examples +{ + /// + /// https://github.com/guillaumegenthial/tf_ner + /// + public class NamedEntityRecognition : Python, IExample + { + public void Run() + { + throw new NotImplementedException(); + } + } +}